mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Add dependencyResolutionManagement
This commit is contained in:
parent
d94ec8e144
commit
426b59d13e
3 changed files with 42 additions and 25 deletions
|
@ -33,19 +33,14 @@ graalvmNative {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenLocal()
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")
|
implementation(libs.bouncycastle)
|
||||||
implementation("com.fasterxml.jackson.core", "jackson-databind", "2.14.2")
|
implementation(libs.jackson.databind)
|
||||||
implementation("net.sourceforge.argparse4j", "argparse4j", "0.9.0")
|
implementation(libs.argparse4j)
|
||||||
implementation("com.github.hypfvieh", "dbus-java-transport-native-unixsocket", "4.2.1")
|
implementation(libs.dbusjava)
|
||||||
implementation("org.slf4j", "slf4j-api", "2.0.6")
|
implementation(libs.slf4j.api)
|
||||||
implementation("ch.qos.logback", "logback-classic", "1.4.5")
|
implementation(libs.slf4j.jul)
|
||||||
implementation("org.slf4j", "jul-to-slf4j", "2.0.6")
|
implementation(libs.logback)
|
||||||
implementation(project(":lib"))
|
implementation(project(":lib"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,21 +8,16 @@ java {
|
||||||
targetCompatibility = JavaVersion.VERSION_17
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenLocal()
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("com.github.turasa", "signal-service-java", "2.15.3_unofficial_66")
|
implementation(libs.signalservice)
|
||||||
implementation("com.fasterxml.jackson.core", "jackson-databind", "2.14.1")
|
implementation(libs.jackson.databind)
|
||||||
implementation("com.google.protobuf", "protobuf-javalite", "3.21.12")
|
implementation(libs.protobuf)
|
||||||
implementation("org.bouncycastle", "bcprov-jdk15on", "1.70")
|
implementation(libs.bouncycastle)
|
||||||
implementation("org.slf4j", "slf4j-api", "2.0.6")
|
implementation(libs.slf4j.api)
|
||||||
implementation("org.xerial", "sqlite-jdbc", "3.40.1.0")
|
implementation(libs.sqlite)
|
||||||
implementation("com.zaxxer", "HikariCP", "5.0.1")
|
implementation(libs.hikari)
|
||||||
|
|
||||||
testImplementation("org.junit.jupiter", "junit-jupiter", "5.9.2")
|
testImplementation(libs.junit)
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.named<Test>("test") {
|
tasks.named<Test>("test") {
|
||||||
|
|
|
@ -1,2 +1,29 @@
|
||||||
|
dependencyResolutionManagement {
|
||||||
|
repositories {
|
||||||
|
mavenLocal()
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
|
versionCatalogs {
|
||||||
|
create("libs") {
|
||||||
|
library("bouncycastle", "org.bouncycastle", "bcprov-jdk15on").version("1.70")
|
||||||
|
library("jackson.databind", "com.fasterxml.jackson.core", "jackson-databind").version("2.14.2")
|
||||||
|
library("argparse4j", "net.sourceforge.argparse4j", "argparse4j").version("0.9.0")
|
||||||
|
library("dbusjava", "com.github.hypfvieh", "dbus-java-transport-native-unixsocket").version("4.2.1")
|
||||||
|
version("slf4j", "2.0.6")
|
||||||
|
library("slf4j.api", "org.slf4j", "slf4j-api").versionRef("slf4j")
|
||||||
|
library("slf4j.jul", "org.slf4j", "jul-to-slf4j").versionRef("slf4j")
|
||||||
|
library("logback", "ch.qos.logback", "logback-classic").version("1.4.5")
|
||||||
|
|
||||||
|
|
||||||
|
library("signalservice", "com.github.turasa", "signal-service-java").version("2.15.3_unofficial_66")
|
||||||
|
library("protobuf", "com.google.protobuf", "protobuf-javalite").version("3.22.0")
|
||||||
|
library("sqlite", "org.xerial", "sqlite-jdbc").version("3.40.1.0")
|
||||||
|
library("hikari", "com.zaxxer", "HikariCP").version("5.0.1")
|
||||||
|
library("junit", "org.junit.jupiter", "junit-jupiter").version("5.9.2")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
rootProject.name = "signal-cli"
|
rootProject.name = "signal-cli"
|
||||||
include("lib")
|
include("lib")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue