forked from Gurupreet/ComposeCookBook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
43 lines (34 loc) · 862 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
32
33
34
35
36
37
38
39
40
41
42
43
plugins {
`kotlin-dsl`
`kotlin-dsl-precompiled-script-plugins`
}
sourceSets {
main {
java {
setSrcDirs(listOf("src"))
}
}
}
buildscript {
repositories {
mavenLocal()
mavenCentral()
google()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
}
}
repositories {
mavenLocal()
mavenCentral()
google()
}
dependencies {
// in order to be able to use "kotlin-android" in the common script
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
// in order to recognize the "plugins" block in the common script
implementation("com.android.tools.build:gradle:7.2.2")
// in order to recognize the "android" block in the common script
implementation("com.android.tools.build:gradle-api:7.2.2")
}