2013-10-10 20:52:24 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2019-03-18 19:59:21 +00:00
|
|
|
google()
|
2019-05-31 04:26:14 +00:00
|
|
|
mavenCentral()
|
2023-08-17 13:04:13 +00:00
|
|
|
if (project.hasProperty('huawei')) maven {
|
|
|
|
url 'https://developer.huawei.com/repo/'
|
|
|
|
content {
|
|
|
|
includeGroup 'com.huawei.agconnect'
|
|
|
|
}
|
|
|
|
}
|
2013-10-10 20:52:24 +00:00
|
|
|
}
|
2023-08-15 04:21:21 +00:00
|
|
|
|
2013-10-10 20:52:24 +00:00
|
|
|
dependencies {
|
2024-02-28 03:56:36 +00:00
|
|
|
classpath "com.android.tools.build:gradle:$gradlePluginVersion"
|
2023-04-19 13:07:36 +00:00
|
|
|
classpath files('libs/gradle-witness.jar')
|
2020-11-24 04:22:02 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
2023-04-19 13:07:36 +00:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion"
|
2022-12-19 00:29:05 +00:00
|
|
|
classpath "com.google.gms:google-services:$googleServicesVersion"
|
2023-06-28 01:04:48 +00:00
|
|
|
classpath "com.squareup:javapoet:1.13.0"
|
2023-08-15 09:12:49 +00:00
|
|
|
if (project.hasProperty('huawei')) classpath 'com.huawei.agconnect:agcp:1.9.1.300'
|
2013-10-10 20:52:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-26 01:34:05 +00:00
|
|
|
// List plugins AND their versions here, but don't apply. This allows you to use the plugin
|
|
|
|
// in your module without specifying the version.
|
|
|
|
plugins {
|
|
|
|
id 'com.google.devtools.ksp' version "$kotlinVersion-1.0.20" apply false
|
|
|
|
id 'com.google.dagger.hilt.android' version "$daggerHiltVersion" apply false
|
2023-07-04 12:40:48 +00:00
|
|
|
}
|
|
|
|
|
2020-11-24 02:10:39 +00:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2021-05-18 04:45:37 +00:00
|
|
|
google()
|
2021-05-18 04:18:16 +00:00
|
|
|
mavenCentral()
|
2020-11-24 02:10:39 +00:00
|
|
|
maven {
|
|
|
|
url "https://raw.github.com/signalapp/maven/master/photoview/releases/"
|
|
|
|
content {
|
|
|
|
includeGroupByRegex "com\\.github\\.chrisbanes.*"
|
2019-03-28 20:21:57 +00:00
|
|
|
}
|
|
|
|
}
|
2020-11-24 02:10:39 +00:00
|
|
|
maven {
|
|
|
|
url "https://raw.github.com/signalapp/maven/master/shortcutbadger/releases/"
|
|
|
|
content {
|
|
|
|
includeGroupByRegex "me\\.leolin.*"
|
|
|
|
}
|
2015-01-12 04:27:34 +00:00
|
|
|
}
|
2020-11-24 02:10:39 +00: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 23:31:26 +00:00
|
|
|
}
|
2020-11-24 02:10:39 +00:00
|
|
|
maven {
|
|
|
|
url "https://raw.github.com/signalapp/maven/master/sqlcipher/release/"
|
|
|
|
content {
|
|
|
|
includeGroupByRegex "org\\.signal.*"
|
|
|
|
}
|
2019-03-11 19:40:26 +00:00
|
|
|
}
|
2021-05-18 05:03:17 +00:00
|
|
|
jcenter()
|
|
|
|
maven { url "https://jitpack.io" }
|
2023-08-17 13:04:13 +00:00
|
|
|
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 04:22:02 +00:00
|
|
|
}
|
2021-05-18 04:18:16 +00:00
|
|
|
|
|
|
|
project.ext {
|
2021-07-01 07:06:42 +00:00
|
|
|
androidMinimumSdkVersion = 23
|
2023-10-04 04:17:27 +00:00
|
|
|
androidTargetSdkVersion = 34
|
2023-09-26 05:27:28 +00:00
|
|
|
androidCompileSdkVersion = 34
|
2021-05-18 04:18:16 +00:00
|
|
|
}
|
2020-11-24 02:10:39 +00:00
|
|
|
}
|