Move common gradle config into convention plugins.

This commit is contained in:
Greyson Parrelli
2023-02-13 17:03:08 -05:00
parent 9fa4741e49
commit 6145fa213e
67 changed files with 684 additions and 786 deletions

View File

@@ -1,34 +1,16 @@
apply plugin: 'com.android.library'
repositories {
mavenCentral()
plugins {
id 'signal-library'
}
android {
namespace 'org.signal.devicetransfer'
buildToolsVersion BUILD_TOOL_VERSION
compileSdkVersion COMPILE_SDK
defaultConfig {
minSdkVersion MINIMUM_SDK
targetSdkVersion TARGET_SDK
}
compileOptions {
sourceCompatibility JAVA_VERSION
targetCompatibility JAVA_VERSION
}
}
dependencies {
implementation libs.androidx.appcompat
implementation project(':core-util')
implementation libs.libsignal.android
api libs.greenrobot.eventbus
testImplementation testLibs.junit.junit
testImplementation testLibs.androidx.test.core
testImplementation (testLibs.robolectric.robolectric) {
exclude group: 'com.google.protobuf', module: 'protobuf-java'
}