Add CacheModule

Signed-off-by: Graham <gpe@openrs2.org>
Graham 4 years ago
parent 46b311c5ad
commit 936968363b
  1. 1
      cache/build.gradle.kts
  2. 12
      cache/src/main/kotlin/org/openrs2/cache/CacheModule.kt

@ -5,6 +5,7 @@ plugins {
dependencies { dependencies {
api(project(":crypto")) api(project(":crypto"))
api("com.google.inject:guice:${Versions.guice}")
api("io.netty:netty-buffer:${Versions.netty}") api("io.netty:netty-buffer:${Versions.netty}")
implementation(project(":buffer")) implementation(project(":buffer"))

@ -0,0 +1,12 @@
package org.openrs2.cache
import com.google.inject.AbstractModule
import org.openrs2.buffer.BufferModule
import org.openrs2.crypto.CryptoModule
public object CacheModule : AbstractModule() {
override fun configure() {
install(BufferModule)
install(CryptoModule)
}
}
Loading…
Cancel
Save