-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathbuild.gradle.kts
31 lines (28 loc) · 1015 Bytes
/
build.gradle.kts
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
/*
* Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
maven {
setUrl("https://jitpack.io")
}
gradlePluginPortal()
}
dependencies {
classpath("com.android.tools.build:gradle:8.4.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23")
classpath("com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:11.2.1")
}
}
tasks.register("clean", Delete::class) {
delete(layout.buildDirectory)
}
afterEvaluate {
tasks.withType<JavaCompile>().configureEach {
sourceCompatibility = JavaVersion.VERSION_17.toString()
targetCompatibility = JavaVersion.VERSION_17.toString()
}
}