-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
69 lines (57 loc) · 1.96 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
import korlibs.korge.gradle.configureAutoVersions
buildscript {
val korgePluginVersion: String by project
repositories {
println("Setting up buildscript>repositories>build.gradle.kts")
mavenLocal()
mavenCentral()
google()
maven { url = uri("https://plugins.gradle.org/m2/") }
}
dependencies {
classpath("com.soywiz.korlibs.korge.plugins:korge-gradle-plugin:$korgePluginVersion")
// classpath("korlibs.korge.plugins:korge-gradle-plugin:$korgePluginVersion")
// classpath("korlibs.korge:korlibs.korge.gradle.plugin:$korgePluginVersion")
// classpath("korlibs.korge.plugins:korge-gradle-plugin:$korgePluginVersion")
// classpath("korlibs.korge.plugins:korge-gradle-plugin:$korgePluginVersion")
}
}
configureAutoVersions()
//plugins {
// id("org.jetbrains.compose") version "1.4.0"
// id("com.soywiz.korge") version "4.0.0"
//}
//allprojects {
// repositories {
// println("Setting up allprojects>repositories>build.gradle.kts")
// mavenLocal()
// mavenCentral()
// google()
// gradlePluginPortal()
// maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
// }
//}
//tasks{
// withType<KotlinCompile> {
// kotlinOptions {
// freeCompilerArgs += listOf("-Xskip-prerelease-check")
// }
// }
//}
//tasks{
// withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
// kotlinOptions {
// println("Updating free compiler args.")
// freeCompilerArgs += listOf(
// "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true",
// "suppressKotlinVersionCompatibilityCheck=1.8.21")
// }
// }
//}
//compose {
// kotlinCompilerPluginArgs.add("suppressKotlinVersionCompatibilityCheck=1.8.21")
// kotlinCompilerPlugin.set(dependencies.compiler.forKotlin("1.8.20"))
//}
repositories {
mavenCentral()
}