-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (44 loc) · 1.55 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
48
49
50
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.4.1' apply false
id 'com.android.library' version '7.4.1' apply false
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
}
subprojects {
afterEvaluate { project ->
if (project.hasProperty('android')) {
android {
compileSdk Config.compile_sdk
defaultConfig {
minSdk Config.min_sdk
targetSdk Config.target_sdk
versionCode Versions.version_code
versionName Versions.version_name
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility Config.java_version
targetCompatibility Config.java_version
}
kotlinOptions {
jvmTarget = Config.jvm_target
}
buildFeatures {
dataBinding true
}
}
}
}
}
task helloExecution { task ->
doLast {
println "Hello exececuted"
}
}
apply from: file('gradle/projectDependencyGraph.gradle')