-
Notifications
You must be signed in to change notification settings - Fork 55
/
build.gradle.kts
72 lines (64 loc) · 2.15 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
* Copyright (C) 2024 OpenAni and contributors.
*
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
* Use of this source code is governed by the GNU AGPLv3 license, which can be found at the following link.
*
* https://github.com/open-ani/ani/blob/main/LICENSE
*/
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
google()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
}
plugins {
kotlin("multiplatform") apply false
kotlin("android") apply false
kotlin("jvm") apply false
kotlin("plugin.serialization") version libs.versions.kotlin apply false
kotlin("plugin.compose") apply false
id("org.jetbrains.kotlinx.atomicfu") apply false
id("org.jetbrains.compose") apply false
id("com.android.library") apply false
id("com.android.application") apply false
id("com.google.devtools.ksp") version libs.versions.ksp apply false
id("androidx.room") version libs.versions.room apply false
id("com.strumenta.antlr-kotlin") version libs.versions.antlr.kotlin apply false
idea
}
allprojects {
group = "me.him188.ani"
version = properties["version.name"].toString()
repositories {
mavenCentral()
google()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://androidx.dev/storage/compose-compiler/repository/")
maven("https://jogamp.org/deployment/maven")
}
}
extensions.findByName("buildScan")?.withGroovyBuilder {
setProperty("termsOfServiceUrl", "https://gradle.com/terms-of-service")
setProperty("termsOfServiceAgree", "yes")
}
subprojects {
afterEvaluate {
configureKotlinOptIns()
configureKotlinTestSettings()
configureEncoding()
configureJvmTarget()
// kotlin.runCatching {
// extensions.findByType(ComposeExtension::class)?.apply {
// this.kotlinCompilerPlugin.set(libs.versions.compose.multiplatform.compiler.get())
// }
// }
}
}
idea {
module {
excludeDirs.add(file(".kotlin"))
}
}