Signal-Android/build.gradle

88 wiersze
2.5 KiB
Groovy
Czysty Zwykły widok Historia

buildscript {
2021-04-13 21:12:54 +00:00
ext.kotlin_version = '1.4.32'
repositories {
google()
mavenCentral()
2021-10-23 04:46:40 +00:00
maven {
url 'https://storage.googleapis.com/r8-releases/raw'
}
jcenter {
content {
includeVersion 'org.jetbrains.trove4j', 'trove4j', '20160824'
includeGroupByRegex "com\\.archinamon.*"
}
}
2021-04-13 21:12:54 +00:00
maven {
url "https://plugins.gradle.org/m2/"
content {
includeGroupByRegex "org\\.jlleitschuh\\.gradle.*"
}
}
}
dependencies {
2021-10-23 04:46:40 +00:00
classpath 'com.android.tools:r8:3.0.73'
classpath 'com.android.tools.build:gradle:7.0.3'
2021-09-03 21:07:05 +00:00
classpath 'androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5'
2021-09-14 12:01:42 +00:00
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.17'
2021-04-13 21:12:54 +00:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.0.0"
classpath 'app.cash.exhaustive:exhaustive-gradle:0.1.1'
}
}
ext {
BUILD_TOOL_VERSION = '30.0.2'
COMPILE_SDK = 30
TARGET_SDK = 30
MINIMUM_SDK = 19
JAVA_VERSION = JavaVersion.VERSION_1_8
2021-08-19 18:26:47 +00:00
2021-09-14 13:07:43 +00:00
LIBSIGNAL_CLIENT_VERSION = '0.9.4'
}
wrapper {
distributionType = Wrapper.DistributionType.ALL
}
allprojects {
repositories {
google()
2021-08-06 14:09:43 +00:00
mavenCentral()
mavenLocal()
}
}
subprojects {
ext.lib_signal_service_version_number = "2.15.3"
ext.lib_signal_service_group_info = "org.whispersystems"
ext.lib_signal_client_version = "0.1.0"
if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
if (project.name != "Signal-Android" && project.name != "libsignal-service" && project.name != "lintchecks" && !project.name.endsWith("-app")) {
task qa {
group 'Verification'
description 'Quality Assurance. Run before pushing'
dependsOn 'testReleaseUnitTest', 'lintRelease'
}
}
}
task qa {
group 'Verification'
description 'Quality Assurance. Run before pushing.'
2020-11-02 21:31:32 +00:00
dependsOn ':Signal-Android:testPlayProdReleaseUnitTest',
':Signal-Android:lintPlayProdRelease',
2021-04-13 21:12:54 +00:00
'Signal-Android:ktlintCheck',
':libsignal-service:test',
2020-11-02 21:31:32 +00:00
':Signal-Android:assemblePlayProdDebug'
}