kopia lustrzana https://github.com/ryukoposting/Signal-Android
Delete the buildSrc directory.
Moved all of the stuff we were using it for into build-logic.main
rodzic
873552436a
commit
21deb6803c
|
@ -11,9 +11,9 @@ plugins {
|
|||
id 'kotlin-parcelize'
|
||||
id 'com.squareup.wire'
|
||||
id 'android-constants'
|
||||
id 'translations'
|
||||
}
|
||||
|
||||
apply from: 'translations.gradle'
|
||||
apply from: 'static-ips.gradle'
|
||||
|
||||
protobuf {
|
||||
|
|
|
@ -5,4 +5,5 @@ plugins {
|
|||
dependencies {
|
||||
implementation libs.android.library
|
||||
implementation libs.android.application
|
||||
implementation project(':tools')
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
import groovy.io.FileType
|
||||
import groovy.transform.stc.ClosureParams
|
||||
import groovy.transform.stc.SimpleType
|
||||
import org.signal.StaticIpResolver
|
||||
import org.signal.buildtools.StaticIpResolver
|
||||
|
||||
ext {
|
||||
autoResConfig = this.&autoResConfig
|
|
@ -18,5 +18,6 @@ dependencyResolutionManagement {
|
|||
rootProject.name = "build-logic"
|
||||
|
||||
include ':plugins'
|
||||
include ':tools'
|
||||
|
||||
apply from: '../dependencies.gradle'
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
plugins {
|
||||
id "java-library"
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libs.dnsjava
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
package org.signal;
|
||||
package org.signal.buildtools;
|
||||
|
||||
import org.gradle.internal.impldep.org.eclipse.jgit.annotations.NonNull;
|
||||
import org.xbill.DNS.ARecord;
|
||||
import org.xbill.DNS.Lookup;
|
||||
import org.xbill.DNS.Record;
|
||||
|
@ -68,7 +67,7 @@ public final class StaticIpResolver {
|
|||
}
|
||||
}
|
||||
|
||||
private static @NonNull Lookup doLookup(@NonNull String hostname) throws UnknownHostException {
|
||||
private static Lookup doLookup(String hostname) throws UnknownHostException {
|
||||
try {
|
||||
return new Lookup(hostname);
|
||||
} catch (Throwable e) {
|
|
@ -1,10 +0,0 @@
|
|||
apply plugin: 'java-gradle-plugin'
|
||||
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libs.dnsjava
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
enableFeaturePreview('VERSION_CATALOGS')
|
||||
apply from: '../dependencies.gradle'
|
Ładowanie…
Reference in New Issue