Skip to content
This repository was archived by the owner on Oct 3, 2021. It is now read-only.

Commit 0dbf85d

Browse files
author
Krystian Panek
committedAug 26, 2020
Own std and reflect
1 parent b91e23a commit 0dbf85d

File tree

4 files changed

+51
-1
lines changed

4 files changed

+51
-1
lines changed
 

‎build.gradle.kts

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ tasks {
7373
testLogging.showStandardStreams = true
7474
}
7575
packageCompose {
76-
installBundle("org.jetbrains.kotlin:kotlin-osgi-bundle:1.4.0")
76+
installBundleProject(":kotlin:stdlib")
77+
installBundleProject(":kotlin:reflect")
7778
installBundleProject(":kotlin:coroutines-core")
7879
installBundleProject(":kotlin:coroutines-core-jvm")
7980
installBundleProject(":kotlin:compiler-embeddable")

‎kotlin/reflect/build.gradle.kts

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import com.cognifide.gradle.aem.bundle.tasks.bundle
2+
3+
plugins {
4+
id("com.cognifide.aem.bundle")
5+
}
6+
7+
dependencies {
8+
compileOnly("org.jetbrains.kotlin:kotlin-reflect:1.4.0")
9+
}
10+
11+
tasks {
12+
jar {
13+
bundle {
14+
attribute("Include-Resource", "@kotlin-reflect-1.4.0.jar")
15+
exportPackage("kotlin.reflect.*")
16+
bndTool {
17+
bnd(mapOf(
18+
"-fixupmessages.classes" to "\"Classes found in the wrong directory*\";is:=warning"
19+
))
20+
}
21+
}
22+
}
23+
}

‎kotlin/stdlib/build.gradle.kts

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import com.cognifide.gradle.aem.bundle.tasks.bundle
2+
3+
plugins {
4+
id("com.cognifide.aem.bundle")
5+
}
6+
7+
dependencies {
8+
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.4.0")
9+
}
10+
11+
tasks {
12+
jar {
13+
bundle {
14+
attribute("Include-Resource", "@kotlin-stdlib-1.4.0.jar")
15+
exportPackage("kotlin.*")
16+
excludePackage("kotlin.internal.*")
17+
bndTool {
18+
bnd(mapOf(
19+
"-fixupmessages.classes" to "\"Classes found in the wrong directory*\";is:=warning"
20+
))
21+
}
22+
}
23+
}
24+
}

‎settings.gradle.kts

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
rootProject.name = "slinkt"
22

3+
include(":kotlin:stdlib")
4+
include(":kotlin:reflect")
35
include(":kotlin:compiler-embeddable")
46
include(":kotlin:coroutines-core")
57
include(":kotlin:coroutines-core-jvm")

0 commit comments

Comments
 (0)