forked from WeatherProjects-tuk/Frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
24 lines (23 loc) · 884 Bytes
/
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '8.0.2' apply false
id 'com.android.library' version '8.0.2' apply false
id 'org.jetbrains.kotlin.android' version '1.8.20' apply false
id 'org.jetbrains.kotlin.jvm' version '1.8.20' apply false
id 'org.jetbrains.kotlin.kapt' version '1.8.20' apply false
id 'com.google.dagger.hilt.android' version '2.44' apply false
}
allprojects {
tasks.withType(JavaCompile).configureEach {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}