Extract lib module

This commit is contained in:
AsamK 2021-01-23 16:57:36 +01:00
parent 4adb11dada
commit c72aeed8bb
79 changed files with 38 additions and 6 deletions

30
lib/build.gradle.kts Normal file
View file

@ -0,0 +1,30 @@
plugins {
`java-library`
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
api("com.github.turasa:signal-service-java:2.15.3_unofficial_18")
implementation("com.google.protobuf:protobuf-javalite:3.10.0")
implementation("org.bouncycastle:bcprov-jdk15on:1.68")
implementation("org.slf4j:slf4j-api:1.7.30")
}
configurations {
implementation {
resolutionStrategy.failOnVersionConflict()
}
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}