Add assisted injection extension

master
Graham 2 years ago
parent 3fe7bdcedc
commit 4604bc8b81
  1. 2
      asm/build.gradle.kts
  2. 2
      buffer/build.gradle.kts
  3. 2
      cache-550/build.gradle.kts
  4. 2
      cache/build.gradle.kts
  5. 2
      conf/build.gradle.kts
  6. 2
      crypto/build.gradle.kts
  7. 2
      decompiler/build.gradle.kts
  8. 2
      deob-ast/build.gradle.kts
  9. 2
      deob-bytecode/build.gradle.kts
  10. 4
      gradle/libs.versions.toml
  11. 2
      http/build.gradle.kts
  12. 2
      inject/build.gradle.kts
  13. 2
      json/build.gradle.kts
  14. 2
      net/build.gradle.kts
  15. 2
      patcher/build.gradle.kts
  16. 1
      protocol/build.gradle.kts
  17. 2
      yaml/build.gradle.kts

@ -6,7 +6,7 @@ plugins {
dependencies { dependencies {
api(projects.util) api(projects.util)
api(libs.bundles.asm) api(libs.bundles.asm)
api(libs.guice) api(libs.bundles.guice)
api(libs.jackson.databind) api(libs.jackson.databind)
api(libs.netty.buffer) api(libs.netty.buffer)

@ -4,7 +4,7 @@ plugins {
} }
dependencies { dependencies {
api(libs.guice) api(libs.bundles.guice)
api(libs.netty.buffer) api(libs.netty.buffer)
implementation(projects.util) implementation(projects.util)

@ -5,7 +5,7 @@ plugins {
dependencies { dependencies {
api(projects.cache) api(projects.cache)
api(libs.guice) api(libs.bundles.guice)
implementation(projects.buffer) implementation(projects.buffer)
implementation(projects.util) implementation(projects.util)

@ -5,9 +5,9 @@ plugins {
dependencies { dependencies {
api(projects.crypto) api(projects.crypto)
api(libs.bundles.guice)
api(libs.commons.compress) api(libs.commons.compress)
api(libs.fastutil) api(libs.fastutil)
api(libs.guice)
api(libs.netty.buffer) api(libs.netty.buffer)
implementation(projects.buffer) implementation(projects.buffer)

@ -5,7 +5,7 @@ plugins {
dependencies { dependencies {
api(projects.crypto) api(projects.crypto)
api(libs.guice) api(libs.bundles.guice)
implementation(projects.yaml) implementation(projects.yaml)
} }

@ -5,7 +5,7 @@ plugins {
dependencies { dependencies {
api(libs.bundles.bouncyCastle) api(libs.bundles.bouncyCastle)
api(libs.guice) api(libs.bundles.guice)
api(libs.jackson.databind) api(libs.jackson.databind)
api(libs.netty.buffer) api(libs.netty.buffer)

@ -11,8 +11,8 @@ application {
dependencies { dependencies {
api(projects.deobUtil) api(projects.deobUtil)
api(libs.bundles.guice)
api(libs.clikt) api(libs.clikt)
api(libs.guice)
implementation(projects.log) implementation(projects.log)
implementation(projects.util) implementation(projects.util)

@ -10,8 +10,8 @@ application {
dependencies { dependencies {
api(projects.deobUtil) api(projects.deobUtil)
api(libs.bundles.guice)
api(libs.clikt) api(libs.clikt)
api(libs.guice)
implementation(projects.inject) implementation(projects.inject)
implementation(projects.log) implementation(projects.log)

@ -9,8 +9,8 @@ application {
} }
dependencies { dependencies {
api(libs.bundles.guice)
api(libs.clikt) api(libs.clikt)
api(libs.guice)
implementation(projects.deobAnnotations) implementation(projects.deobAnnotations)
implementation(projects.deobUtil) implementation(projects.deobUtil)

@ -35,7 +35,8 @@ fastutil = { module = "it.unimi.dsi:fastutil", version = "8.5.8" }
fernflower = { module = "org.openrs2:fernflower", version = "1.1.1" } fernflower = { module = "org.openrs2:fernflower", version = "1.1.1" }
flyway = { module = "org.flywaydb:flyway-core", version = "9.0.1" } flyway = { module = "org.flywaydb:flyway-core", version = "9.0.1" }
guava = { module = "com.google.guava:guava", version.ref = "guava" } guava = { module = "com.google.guava:guava", version.ref = "guava" }
guice = { module = "com.google.inject:guice", version.ref = "guice" } guice-core = { module = "com.google.inject:guice", version.ref = "guice" }
guice-assistedInject = { module = "com.google.inject.extensions:guice-assistedinject", version.ref = "guice" }
h2 = { module = "com.h2database:h2", version = "2.1.214" } h2 = { module = "com.h2database:h2", version = "2.1.214" }
hikaricp = { module = "com.zaxxer:HikariCP", version = "5.0.1" } hikaricp = { module = "com.zaxxer:HikariCP", version = "5.0.1" }
inlineLogger = { module = "com.michael-bull.kotlin-inline-logger:kotlin-inline-logger", version = "1.0.4" } inlineLogger = { module = "com.michael-bull.kotlin-inline-logger:kotlin-inline-logger", version = "1.0.4" }
@ -84,6 +85,7 @@ xz = { module = "org.tukaani:xz", version = "1.9" }
[bundles] [bundles]
asm = ["asm-core", "asm-commons", "asm-tree", "asm-util"] asm = ["asm-core", "asm-commons", "asm-tree", "asm-util"]
bouncyCastle = ["bouncyCastle-pkix", "bouncyCastle-provider"] bouncyCastle = ["bouncyCastle-pkix", "bouncyCastle-provider"]
guice = ["guice-core", "guice-assistedInject"]
ktor = [ ktor = [
"ktor-serialization-jackson", "ktor-serialization-jackson",
"ktor-server-auto-head-response", "ktor-server-auto-head-response",

@ -4,7 +4,7 @@ plugins {
} }
dependencies { dependencies {
api(libs.guice) api(libs.bundles.guice)
implementation(libs.guava) implementation(libs.guava)
implementation(libs.kotlin.coroutines.core) implementation(libs.kotlin.coroutines.core)

@ -4,7 +4,7 @@ plugins {
} }
dependencies { dependencies {
api(libs.guice) api(libs.bundles.guice)
} }
publishing { publishing {

@ -4,7 +4,7 @@ plugins {
} }
dependencies { dependencies {
api(libs.guice) api(libs.bundles.guice)
api(libs.jackson.databind) api(libs.jackson.databind)
implementation(libs.jackson.kotlin) implementation(libs.jackson.kotlin)

@ -4,7 +4,7 @@ plugins {
} }
dependencies { dependencies {
api(libs.guice) api(libs.bundles.guice)
api(libs.kotlin.coroutines.core) api(libs.kotlin.coroutines.core)
api(libs.netty.transport) api(libs.netty.transport)

@ -10,8 +10,8 @@ application {
dependencies { dependencies {
api(projects.asm) api(projects.asm)
api(libs.bundles.guice)
api(libs.clikt) api(libs.clikt)
api(libs.guice)
implementation(projects.conf) implementation(projects.conf)
implementation(projects.inject) implementation(projects.inject)

@ -5,6 +5,7 @@ plugins {
dependencies { dependencies {
api(projects.crypto) api(projects.crypto)
api(libs.bundles.guice)
api(libs.netty.codec.core) api(libs.netty.codec.core)
implementation(projects.buffer) implementation(projects.buffer)

@ -4,7 +4,7 @@ plugins {
} }
dependencies { dependencies {
api(libs.guice) api(libs.bundles.guice)
api(libs.jackson.databind) api(libs.jackson.databind)
implementation(libs.jackson.kotlin) implementation(libs.jackson.kotlin)

Loading…
Cancel
Save