-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
executable file
·44 lines (39 loc) · 1.2 KB
/
build.gradle
File metadata and controls
executable file
·44 lines (39 loc) · 1.2 KB
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
ext {
compileSdkVersion = 36
minSdkVersion = 28
targetSdkVersion = 36
javaVersion = JavaVersion.VERSION_17
kotlin_version = '2.1.20'
}
buildscript {
ext.kotlin_version = '2.1.20'
repositories {
mavenCentral()
google()
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath 'com.android.tools.build:gradle:8.12.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:$kotlin_version"
classpath 'org.jlleitschuh.gradle:ktlint-gradle:12.1.0'
classpath 'io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.8'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenCentral()
google()
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
}
tasks.register("clean", Delete) {
delete(rootProject.layout.buildDirectory)
}