forked from nix-community/nix-on-droid-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
32 lines (27 loc) · 700 Bytes
/
Copy pathbuild.gradle
File metadata and controls
32 lines (27 loc) · 700 Bytes
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
import groovy.json.JsonSlurper
def productConfig = new JsonSlurper().parse(file("config/product.json"))
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
}
}
allprojects {
ext {
minSdkVersion = productConfig.android.minSdk
targetSdkVersion = productConfig.android.targetSdk
compileSdkVersion = productConfig.android.compileSdk
ndkVersion = productConfig.android.ndkVersion
}
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}