forked from Tencent-TDS/KuiklyUI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.2.1.21.gradle.kts
More file actions
45 lines (42 loc) · 1.31 KB
/
Copy pathbuild.2.1.21.gradle.kts
File metadata and controls
45 lines (42 loc) · 1.31 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
plugins {
kotlin("multiplatform") version "2.1.21" apply false
kotlin("plugin.compose") version "2.1.21" apply false
id("com.android.application") version "7.4.2" apply false
id("com.android.library") version "7.4.2" apply false
id("org.jetbrains.compose") version "1.7.3" apply false
id("com.google.devtools.ksp") version "2.1.21-2.0.1" apply false
}
buildscript {
repositories {
gradlePluginPortal()
google()
mavenCentral()
mavenLocal()
maven {
url = uri("https://mirrors.tencent.com/repository/maven-tencent/")
}
}
dependencies {
classpath(BuildPlugin.kotlin)
classpath(BuildPlugin.android)
classpath(BuildPlugin.kuikly)
}
}
allprojects {
repositories {
google()
mavenCentral()
mavenLocal()
maven {
url = uri("https://mirrors.tencent.com/repository/maven-tencent/")
}
}
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute(module("${MavenConfig.GROUP}:compose")).using(project(":compose"))
}
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile>().configureEach {
jvmTargetValidationMode.set(org.jetbrains.kotlin.gradle.dsl.jvm.JvmTargetValidationMode.WARNING)
}
}