-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
44 lines (32 loc) · 1.15 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
ext {
commonValues = [
appBaseNameSpace : 'com.nll.store',
releaseMinifyEnabled : true,
debugMinifyEnabled : true,
releaseShrinkResourcesEnabled: false,
debugShrinkResourcesEnabled : false
]
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:${libs.versions.androidGradleVersion.get()}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${libs.versions.kotlinVersion.get()}"
}
}
plugins {
alias(libs.plugins.kotlin.ksp)
alias(libs.plugins.kotlin.android) apply(false)
alias(libs.plugins.kotlin.serialization) apply(false)
alias(libs.plugins.banes.versions)
}
allprojects {
tasks.withType(KotlinCompile).configureEach {
kotlinOptions.jvmTarget = libs.versions.javaVersion.get().toString()
}
buildDir = "${System.properties['user.home']}${File.separator}.build${File.separator}${rootProject.name}${File.separator}${project.name}"
}