-
Notifications
You must be signed in to change notification settings - Fork 124
/
Copy pathbuild.gradle.kts
41 lines (37 loc) · 1.16 KB
/
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
/*
* Copyright 2023 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
import com.android.build.gradle.BaseExtension
import org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension
import org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper
buildscript {
repositories {
mavenLocal()
mavenCentral()
google()
gradlePluginPortal()
}
dependencies {
classpath(moko.resourcesGradlePlugin)
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.6.1")
classpath("com.android.tools.build:gradle:8.1.1")
}
}
subprojects {
plugins.withType<com.android.build.gradle.BasePlugin> {
configure<BaseExtension> {
defaultConfig.minSdkVersion(16)
compileSdkVersion(33)
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
}
plugins.withType<KotlinPluginWrapper> {
configure<KotlinProjectExtension> {
jvmToolchain(17)
}
}
}