Use type-safe project accessors

Signed-off-by: Graham <gpe@openrs2.org>
bzip2
Graham 4 years ago
parent 213808f609
commit 9e8d1fca1c
  1. 12
      all/build.gradle.kts
  2. 22
      archive/build.gradle.kts
  3. 6
      asm/build.gradle.kts
  4. 8
      cache/build.gradle.kts
  5. 2
      compress-cli/build.gradle.kts
  6. 2
      compress/build.gradle.kts
  7. 2
      conf/build.gradle.kts
  8. 4
      crypto/build.gradle.kts
  9. 4
      decompiler/build.gradle.kts
  10. 6
      deob-ast/build.gradle.kts
  11. 10
      deob-bytecode/build.gradle.kts
  12. 8
      deob-processor/build.gradle.kts
  13. 4
      deob-util/build.gradle.kts
  14. 8
      deob/build.gradle.kts
  15. 2
      game/build.gradle.kts
  16. 2
      net/build.gradle.kts
  17. 8
      patcher/build.gradle.kts
  18. 4
      protocol/build.gradle.kts
  19. 1
      settings.gradle.kts

@ -15,12 +15,12 @@ application {
}
dependencies {
implementation(project(":archive"))
implementation(project(":compress-cli"))
implementation(project(":crc32"))
implementation(project(":deob"))
implementation(project(":game"))
implementation(project(":patcher"))
implementation(projects.archive)
implementation(projects.compressCli)
implementation(projects.crc32)
implementation(projects.deob)
implementation(projects.game)
implementation(projects.patcher)
}
tasks.shadowJar {

@ -11,17 +11,17 @@ application {
dependencies {
api(libs.clikt)
implementation(project(":buffer"))
implementation(project(":cache"))
implementation(project(":cli"))
implementation(project(":db"))
implementation(project(":http"))
implementation(project(":inject"))
implementation(project(":json"))
implementation(project(":net"))
implementation(project(":protocol"))
implementation(project(":util"))
implementation(project(":yaml"))
implementation(projects.buffer)
implementation(projects.cache)
implementation(projects.cli)
implementation(projects.db)
implementation(projects.http)
implementation(projects.inject)
implementation(projects.json)
implementation(projects.net)
implementation(projects.protocol)
implementation(projects.util)
implementation(projects.yaml)
implementation(libs.bootstrap)
implementation(libs.bundles.ktor)
implementation(libs.bundles.thymeleaf)

@ -4,13 +4,13 @@ plugins {
}
dependencies {
api(project(":util"))
api(projects.util)
api(libs.bundles.asm)
api(libs.guice)
api(libs.jackson.databind)
implementation(project(":compress"))
implementation(project(":crypto"))
implementation(projects.compress)
implementation(projects.crypto)
}
publishing {

@ -4,14 +4,14 @@ plugins {
}
dependencies {
api(project(":crypto"))
api(projects.crypto)
api(libs.fastutil)
api(libs.guice)
api(libs.netty.buffer)
implementation(project(":buffer"))
implementation(project(":compress"))
implementation(project(":util"))
implementation(projects.buffer)
implementation(projects.compress)
implementation(projects.util)
testImplementation(libs.jimfs)
}

@ -11,7 +11,7 @@ application {
dependencies {
api(libs.clikt)
implementation(project(":compress"))
implementation(projects.compress)
}
publishing {

@ -6,7 +6,7 @@ plugins {
dependencies {
api(libs.xz)
implementation(project(":util"))
implementation(projects.util)
api(libs.commons.compress)
api(libs.guava)
}

@ -6,7 +6,7 @@ plugins {
dependencies {
api(libs.guice)
implementation(project(":yaml"))
implementation(projects.yaml)
}
publishing {

@ -9,9 +9,9 @@ dependencies {
api(libs.jackson.databind)
api(libs.netty.buffer)
implementation(project(":util"))
implementation(projects.util)
testImplementation(project(":buffer"))
testImplementation(projects.buffer)
testImplementation(libs.jimfs)
}

@ -10,11 +10,11 @@ application {
}
dependencies {
api(project(":deob-util"))
api(projects.deobUtil)
api(libs.clikt)
api(libs.guice)
implementation(project(":util"))
implementation(projects.util)
implementation(libs.fernflower)
}

@ -9,12 +9,12 @@ application {
}
dependencies {
api(project(":deob-util"))
api(projects.deobUtil)
api(libs.clikt)
api(libs.guice)
implementation(project(":inject"))
implementation(project(":util"))
implementation(projects.inject)
implementation(projects.util)
implementation(libs.guava)
implementation(libs.javaParser)
implementation(libs.jdom)

@ -12,11 +12,11 @@ dependencies {
api(libs.clikt)
api(libs.guice)
implementation(project(":deob-annotations"))
implementation(project(":deob-util"))
implementation(project(":inject"))
implementation(project(":patcher"))
implementation(project(":yaml"))
implementation(projects.deobAnnotations)
implementation(projects.deobUtil)
implementation(projects.inject)
implementation(projects.patcher)
implementation(projects.yaml)
implementation(libs.fastutil)
implementation(libs.guava)
implementation(libs.jgrapht)

@ -4,10 +4,10 @@ plugins {
}
dependencies {
implementation(project(":deob-annotations"))
implementation(project(":deob-util"))
implementation(project(":inject"))
implementation(project(":yaml"))
implementation(projects.deobAnnotations)
implementation(projects.deobUtil)
implementation(projects.inject)
implementation(projects.yaml)
}
publishing {

@ -4,8 +4,8 @@ plugins {
}
dependencies {
api(project(":asm"))
api(project(":yaml"))
api(projects.asm)
api(projects.yaml)
}
publishing {

@ -12,10 +12,10 @@ application {
dependencies {
api(libs.clikt)
implementation(project(":decompiler"))
implementation(project(":deob-ast"))
implementation(project(":deob-bytecode"))
implementation(project(":inject"))
implementation(projects.decompiler)
implementation(projects.deobAst)
implementation(projects.deobBytecode)
implementation(projects.inject)
}
publishing {

@ -11,7 +11,7 @@ application {
dependencies {
api(libs.clikt)
implementation(project(":inject"))
implementation(projects.inject)
}
publishing {

@ -8,7 +8,7 @@ dependencies {
api(libs.kotlin.coroutines.core)
api(libs.netty.transport)
implementation(project(":buffer"))
implementation(projects.buffer)
implementation("io.netty.incubator:netty-incubator-transport-native-io_uring:${libs.versions.nettyIoUring.get()}:linux-aarch_64")
implementation("io.netty.incubator:netty-incubator-transport-native-io_uring:${libs.versions.nettyIoUring.get()}:linux-x86_64")
implementation("io.netty:netty-transport-native-epoll:${libs.versions.netty.get()}:linux-aarch_64")

@ -9,13 +9,13 @@ application {
}
dependencies {
api(project(":asm"))
api(projects.asm)
api(libs.clikt)
api(libs.guice)
implementation(project(":conf"))
implementation(project(":crypto"))
implementation(project(":inject"))
implementation(projects.conf)
implementation(projects.crypto)
implementation(projects.inject)
implementation(libs.openrs2.natives)
}

@ -4,10 +4,10 @@ plugins {
}
dependencies {
api(project(":crypto"))
api(projects.crypto)
api(libs.netty.codec)
implementation(project(":buffer"))
implementation(projects.buffer)
}
publishing {

@ -21,6 +21,7 @@ pluginManagement {
}
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
enableFeaturePreview("VERSION_CATALOGS")
include(

Loading…
Cancel
Save