-
Notifications
You must be signed in to change notification settings - Fork 278
/
Copy pathbuild.gradle
47 lines (39 loc) · 1.48 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = '2.0.0'
}
repositories {
//List of trusted Maven
//https://f-droid.org/2022/07/22/maven-central.html
google()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
// maven { url "https://maven.aliyun.com/repository/public" } //do not use,because F-Droid.
}
dependencies {
classpath 'com.android.tools.build:gradle:8.5.0'
classpath 'com.google.gms:google-services:4.4.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
//List of trusted Maven
//https://f-droid.org/2022/07/22/maven-central.html
google() // https://stackoverflow.com/a/50563942/5923915
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
// maven { url "https://maven.aliyun.com/repository/public" }
}
}
ext {
compileSdkVersion = 34 // 13.0 "Tiramisu"
targetSdkVersion = 34 //14
supportLibVersion = '27.1.1' // variable that can be referenced to keep support libs consistent
minSdkVersion = 26 //8.0 "Oreo"
buildToolsVersion = '27.0.3'
}