Skip to content

Commit a1a3422

Browse files
committed
converter build gradle to kts
1 parent 1aa671c commit a1a3422

File tree

2 files changed

+67
-95
lines changed

2 files changed

+67
-95
lines changed

build.gradle

Lines changed: 0 additions & 95 deletions
This file was deleted.

build.gradle.kts

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
buildscript {
2+
3+
repositories {
4+
mavenLocal()
5+
google()
6+
mavenCentral()
7+
}
8+
9+
dependencies {
10+
classpath("de.jensklingenberg:compiler.gradleplugin.helloworld:1.0.0")
11+
}
12+
}
13+
plugins {
14+
id("org.jetbrains.kotlin.multiplatform") version "1.8.0"
15+
}
16+
apply(plugin = "compiler.gradleplugin.helloworld")
17+
18+
System.setProperty("kotlin.compiler.execution.strategy", "in-process") // For debugging
19+
20+
21+
configure<de.jensklingenberg.gradle.TestCompilerExtension> {
22+
enabled = true
23+
}
24+
25+
allprojects {
26+
27+
repositories {
28+
mavenLocal()
29+
mavenCentral()
30+
maven("https://maven.google.com")
31+
maven("https://plugins.gradle.org/m2/")
32+
google()
33+
}
34+
}
35+
36+
37+
kotlin {
38+
jvm()
39+
linuxX64("linux")
40+
js()
41+
sourceSets {
42+
val commonMain by getting {
43+
dependencies {
44+
45+
}
46+
}
47+
48+
val jsMain by getting {
49+
50+
dependencies {
51+
52+
}
53+
}
54+
55+
val jvmMain by getting {
56+
57+
58+
dependencies {
59+
60+
}
61+
}
62+
val linuxMain by getting {
63+
64+
}
65+
66+
}
67+
}

0 commit comments

Comments
 (0)