2013-10-10 13:52:24 -07:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2019-03-18 16:59:21 -03:00
|
|
|
google()
|
2019-05-31 14:26:14 +10:00
|
|
|
mavenCentral()
|
2023-08-17 22:34:13 +09:30
|
|
|
if (project.hasProperty('huawei')) maven {
|
|
|
|
url 'https://developer.huawei.com/repo/'
|
|
|
|
content {
|
|
|
|
includeGroup 'com.huawei.agconnect'
|
|
|
|
}
|
|
|
|
}
|
2013-10-10 13:52:24 -07:00
|
|
|
}
|
2023-08-15 13:51:21 +09:30
|
|
|
|
2013-10-10 13:52:24 -07:00
|
|
|
dependencies {
|
2023-09-26 14:57:28 +09:30
|
|
|
classpath 'com.android.tools.build:gradle:7.4.2'
|
2023-04-19 23:07:36 +10:00
|
|
|
classpath files('libs/gradle-witness.jar')
|
2020-11-24 15:22:02 +11:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
2023-04-19 23:07:36 +10:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion"
|
2022-12-19 11:29:05 +11:00
|
|
|
classpath "com.google.gms:google-services:$googleServicesVersion"
|
2020-11-24 15:22:02 +11:00
|
|
|
classpath files('libs/gradle-witness.jar')
|
2023-06-28 10:34:48 +09:30
|
|
|
classpath "com.squareup:javapoet:1.13.0"
|
2023-04-19 23:07:36 +10:00
|
|
|
classpath "com.google.dagger:hilt-android-gradle-plugin:$daggerVersion"
|
2023-08-15 18:42:49 +09:30
|
|
|
if (project.hasProperty('huawei')) classpath 'com.huawei.agconnect:agcp:1.9.1.300'
|
2013-10-10 13:52:24 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-04 22:10:48 +09:30
|
|
|
plugins{
|
|
|
|
id("com.google.dagger.hilt.android") version "2.44" apply false
|
|
|
|
}
|
|
|
|
|
2020-11-24 13:10:39 +11:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2021-05-18 14:45:37 +10:00
|
|
|
google()
|
2021-05-18 14:18:16 +10:00
|
|
|
mavenCentral()
|
2020-11-24 13:10:39 +11:00
|
|
|
maven {
|
|
|
|
url "https://raw.github.com/signalapp/maven/master/photoview/releases/"
|
|
|
|
content {
|
|
|
|
includeGroupByRegex "com\\.github\\.chrisbanes.*"
|
2019-03-28 17:21:57 -03:00
|
|
|
}
|
|
|
|
}
|
2020-11-24 13:10:39 +11:00
|
|
|
maven {
|
|
|
|
url "https://raw.github.com/signalapp/maven/master/shortcutbadger/releases/"
|
|
|
|
content {
|
|
|
|
includeGroupByRegex "me\\.leolin.*"
|
|
|
|
}
|
2015-01-11 20:27:34 -08:00
|
|
|
}
|
2020-11-24 13:10:39 +11:00
|
|
|
maven {
|
|
|
|
url "https://raw.github.com/signalapp/maven/master/circular-progress-button/releases/"
|
|
|
|
content {
|
|
|
|
includeGroupByRegex "com\\.github\\.dmytrodanylyk\\.circular-progress-button\\.*"
|
|
|
|
}
|
2015-09-03 16:31:26 -07:00
|
|
|
}
|
2020-11-24 13:10:39 +11:00
|
|
|
maven {
|
|
|
|
url "https://raw.github.com/signalapp/maven/master/sqlcipher/release/"
|
|
|
|
content {
|
|
|
|
includeGroupByRegex "org\\.signal.*"
|
|
|
|
}
|
2019-03-11 16:40:26 -03:00
|
|
|
}
|
2021-05-18 15:03:17 +10:00
|
|
|
jcenter()
|
|
|
|
maven { url "https://jitpack.io" }
|
2023-08-17 22:34:13 +09:30
|
|
|
if (project.hasProperty('huawei')) maven {
|
|
|
|
url 'https://developer.huawei.com/repo/'
|
|
|
|
content {
|
|
|
|
includeGroup 'com.huawei.android.hms'
|
|
|
|
includeGroup 'com.huawei.agconnect'
|
|
|
|
includeGroup 'com.huawei.hmf'
|
|
|
|
includeGroup 'com.huawei.hms'
|
|
|
|
}
|
|
|
|
}
|
2020-11-24 15:22:02 +11:00
|
|
|
}
|
2021-05-18 14:18:16 +10:00
|
|
|
|
|
|
|
project.ext {
|
2021-07-01 17:06:42 +10:00
|
|
|
androidMinimumSdkVersion = 23
|
2023-10-04 15:17:27 +11:00
|
|
|
androidTargetSdkVersion = 34
|
2023-09-26 14:57:28 +09:30
|
|
|
androidCompileSdkVersion = 34
|
2021-05-18 14:18:16 +10:00
|
|
|
}
|
2020-11-24 13:10:39 +11:00
|
|
|
}
|