I would like to embed some dependencies into the .jar, but can't get it to work. I do have jarJar.enable() at the top of the file. Here are my dependencies:
implementation("com.microsoft.signalr:signalr:[7.0,8.1)") {
jarJar.pin(this, "8.0.1")
}
compileOnly("io.reactivex.rxjava3:rxjava:3.1.8")
compileOnly("org.reactivestreams:reactive-streams:1.0.4")
runtimeOnly("com.google.code.gson:gson:[1.0,2.11)") {
jarJar.pin(this, "2.10.1")
}
runtimeOnly("com.squareup.okhttp3:okhttp:[3.0,4.13)") {
jarJar.pin(this, "4.12.0")
}
compileOnly("com.squareup.okio:okio:3.7.0")
compileOnly("com.squareup.okio:okio-jvm:3.7.0")
compileOnly("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.22")
runtimeOnly("org.slf4j:slf4j-api:[1.0,2.1)") {
jarJar.pin(this, "2.0.11")
}
Any help would be greatly appreciated