Changeset View
Changeset View
Standalone View
Standalone View
net-im/signald/files/patch-build.gradle
| --- build.gradle.orig 2021-10-02 23:08:05 UTC | --- build.gradle.orig 2022-02-16 18:48:20 UTC | ||||
| +++ build.gradle | +++ build.gradle | ||||
| @@ -20,10 +20,13 @@ import org.gradle.nativeplatform.platform.internal.Ope | @@ -9,11 +9,18 @@ | ||||
| import org.gradle.nativeplatform.platform.internal.OperatingSystemInternal | |||||
| import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform | import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform | ||||
| import org.xml.sax.SAXParseException | |||||
| -plugins { | |||||
| - id 'de.fuerstenau.buildconfig' version '1.1.8' | |||||
| +buildscript { | +buildscript { | ||||
| + dependencies { | + dependencies { | ||||
| + classpath files ("../jars/BuildConfigPlugin-1.1.8.jar") | + classpath files ("../jars/gradle-buildconfig-plugin-3.0.3.jar","../jars/javapoet-1.11.1.jar","../jars/commons-lang3-3.8.1.jar") | ||||
| + } | + } | ||||
| +} | |||||
| + | |||||
| plugins { | |||||
| - id 'com.github.gmazzo.buildconfig' version '3.0.3' | |||||
| id 'application' | |||||
| } | } | ||||
| +apply plugin: 'de.fuerstenau.buildconfig' | +apply plugin: 'com.github.gmazzo.buildconfig' | ||||
| apply plugin: 'java' | + | ||||
| apply plugin: 'application' | compileJava.options.encoding = 'UTF-8' | ||||
| apply plugin: 'idea' | |||||
| @@ -86,10 +89,18 @@ static String getTarget() { | // crappy rust target detection | ||||
| return target | @@ -81,28 +88,56 @@ | ||||
| } | } | ||||
| + | |||||
| repositories { | repositories { | ||||
| - maven {url "https://gitlab.com/api/v4/groups/6853927/-/packages/maven"} // https://gitlab.com/groups/signald/-/packages | - maven {url "https://gitlab.com/api/v4/groups/6853927/-/packages/maven"} // https://gitlab.com/groups/signald/-/packages | ||||
| - maven {url "https://plugins.gradle.org/m2/"} | |||||
| - mavenCentral() | - mavenCentral() | ||||
| + ivy { | + ivy { | ||||
| + url "../jars" | + url "../jars" | ||||
| + metadataSources { | + metadataSources { | ||||
| + artifact() | + artifact() | ||||
| + } | + } | ||||
| + patternLayout { | + patternLayout { | ||||
| + artifact "[artifact]-[revision](-[classifier]).[ext]" | + artifact "[artifact]-[revision](-[classifier]).[ext]" | ||||
| + artifact "[artifact].[ext]" | + artifact "[artifact].[ext]" | ||||
| + } | + } | ||||
| + } | + } | ||||
| } | } | ||||
| sourceSets { | |||||
| @@ -109,21 +120,37 @@ configurations { | |||||
| } | |||||
| dependencies { | dependencies { | ||||
| - implementation 'com.github.turasa:signal-service-java-' + getTarget() + ':2.15.3_unofficial_27' | - implementation 'org.signald:signal-service-java-' + getTarget() + ':2.15.3_unofficial_41' | ||||
| + implementation 'com.github.turasa:signal-service-java:2.15.3_unofficial_27' | - implementation 'org.bouncycastle:bcprov-jdk15on:1.69' | ||||
| implementation 'org.bouncycastle:bcprov-jdk15on:1.66' | - implementation 'com.kohlschutter.junixsocket:junixsocket-common:2.4.0' | ||||
| implementation 'com.kohlschutter.junixsocket:junixsocket-common:2.3.2' | - implementation 'com.kohlschutter.junixsocket:junixsocket-native-common:2.4.0' | ||||
| implementation 'com.kohlschutter.junixsocket:junixsocket-native-common:2.3.2' | - implementation 'org.apache.logging.log4j:log4j-api:2.17.1' | ||||
| - implementation 'org.apache.logging.log4j:log4j-api:2.14.0' | - implementation 'org.apache.logging.log4j:log4j-core:2.17.1' | ||||
| - implementation 'org.apache.logging.log4j:log4j-core:2.14.0' | - implementation 'org.slf4j:slf4j-nop:1.8.0-beta4' | ||||
| + implementation 'org.apache.logging.log4j:log4j-api:2.17.0' | - implementation 'info.picocli:picocli:4.6.2' | ||||
| + implementation 'org.apache.logging.log4j:log4j-core:2.17.0' | - implementation 'org.xerial:sqlite-jdbc:3.36.0.2' | ||||
| implementation 'org.slf4j:slf4j-nop:1.8.0-beta4' | - implementation 'org.flywaydb:flyway-core:8.4.1' | ||||
| + implementation 'org.slf4j:slf4j-api:1.8.0-beta4' | - implementation 'com.google.protobuf:protobuf-javalite:3.10.0' | ||||
| implementation 'info.picocli:picocli:4.5.2' | - implementation 'io.prometheus:simpleclient:0.14.1' | ||||
| - implementation 'org.xerial:sqlite-jdbc:3.34.0' | - implementation 'io.prometheus:simpleclient_hotspot:0.14.1' | ||||
| + implementation files('sqlitejdbc-native.jar') | - implementation 'io.prometheus:simpleclient_httpserver:0.14.1' | ||||
| + implementation 'com.fasterxml.jackson.core:jackson-core:2.9.9' | - implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3' | ||||
| + implementation 'com.fasterxml.jackson.annotations:jackson-annotations:2.9.0' | - implementation 'io.sentry:sentry:5.6.1' | ||||
| + implementation 'com.fasterxml.jackson.databind:jackson-databind:2.9.9.2' | - testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2' | ||||
| + implementation 'org.whispersystems.libsignal.signal-client-java:signal-client-java:0.9.6' | + implementation 'com.fasterxml.jackson.core:jackson-annotations:2.13.0' | ||||
| + implementation 'org.signal.zkgroup:zkgroup-java:0.7.3' | + implementation 'com.fasterxml.jackson.core:jackson-core:2.13.0' | ||||
| implementation 'org.flywaydb:flyway-core:7.5.3' | + implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.0' | ||||
| implementation 'com.google.protobuf:protobuf-javalite:3.10.0' | + implementation 'com.github.turasa:signal-service-java:2.15.3_unofficial_41' | ||||
| implementation 'io.prometheus:simpleclient:0.11.0' | + implementation 'com.google.code.gson:gson:2.8.5' | ||||
| implementation 'io.prometheus:simpleclient_hotspot:0.11.0' | + implementation 'com.google.protobuf:protobuf-javalite:3.11.4' | ||||
| implementation 'io.prometheus:simpleclient_httpserver:0.11.0' | + implementation 'com.googlecode.libphonenumber:libphonenumber:8.12.33' | ||||
| + implementation 'com.kohlschutter.junixsocket:junixsocket-common:2.4.0' | |||||
| + implementation 'com.kohlschutter.junixsocket:junixsocket-native-common:2.4.0' | |||||
| + implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3' | |||||
| + implementation 'com.squareup.okhttp3:okhttp:4.9.3' | |||||
| + implementation 'com.squareup.okio:okio:2.10.0' | |||||
| + implementation 'info.picocli:picocli:4.6.2' | |||||
| + implementation 'io.prometheus:simpleclient_common:0.14.1' | |||||
| + implementation 'io.prometheus:simpleclient_hotspot:0.14.1' | |||||
| + implementation 'io.prometheus:simpleclient_httpserver:0.14.1' | |||||
| + implementation 'io.prometheus:simpleclient_tracer_common:0.14.1' | |||||
| + implementation 'io.prometheus:simpleclient_tracer_otel_agent:0.14.1' | |||||
| + implementation 'io.prometheus:simpleclient_tracer_otel:0.14.1' | |||||
| + implementation 'io.prometheus:simpleclient:0.14.1' | |||||
| + implementation 'io.reactivex.rxjava3:rxjava:3.1.2' | + implementation 'io.reactivex.rxjava3:rxjava:3.1.2' | ||||
| implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1' | + implementation 'io.sentry:sentry:5.6.1' | ||||
| + implementation 'okhttp3:okhttp:4.9.1' | + implementation 'org.apache.logging.log4j:log4j-api:2.17.1' | ||||
| + implementation 'okio:okio:2.6.0' | + implementation 'org.apache.logging.log4j:log4j-core:2.17.1' | ||||
| + implementation 'org.jetbrains.annotations:annotations:13.0' | + implementation 'org.bouncycastle:bcprov-jdk15on:1.69' | ||||
| + implementation 'org.jetbrains.kotlin.kotlin-stdlib:kotlin-stdlib:1.3.71' | + implementation 'org.flywaydb:flyway-core:8.4.1' | ||||
| + implementation 'org.jetbrains.kotlin.kotlin-stdlib-common:kotlin-stdlib-common:1.3.71' | + implementation 'org.jetbrains:annotations:13.0' | ||||
| + implementation 'org.jetbrains.kotlin:kotlin-stdlib-common:1.4.20' | |||||
| + implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.10' | |||||
| + implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.10' | |||||
| + implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.4.20' | |||||
| + implementation 'org.reactivestreams:reactive-streams:1.0.3' | + implementation 'org.reactivestreams:reactive-streams:1.0.3' | ||||
| + implementation 'com.googlecode.libphonenumber:libphonenumber:8.12.17' | + implementation 'org.slf4j:slf4j-api:1.8.0-beta4' | ||||
| + implementation 'com.googlecode.libphonenumber:libphonenumber:8.12.17' | + implementation 'org.slf4j:slf4j-nop:1.8.0-beta4' | ||||
| + implementation 'org.threeten.threetenbp:threetenbp:1.3.6' | + implementation 'org.threeten:threetenbp:1.3.6' | ||||
| testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.0' | + implementation 'org.whispersystems:signal-client-java:0.12.3' | ||||
| testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.0' | + implementation 'org.xerial:sqlite-jdbc:3.36.0.3' | ||||
| testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.0' | } | ||||