File tree Expand file tree Collapse file tree 5 files changed +9
-10
lines changed
gradle-plugin/src/main/kotlin/me/shika Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ The plugin adds `readResolve` method for every object which either:
14
14
15
15
// plugins dsl
16
16
plugins {
17
- id "me.shika.kotlin-object-java-serialization" version "1.0.0 "
17
+ id "me.shika.kotlin-object-java-serialization" version "1.0.1 "
18
18
}
19
19
20
20
// or else
@@ -25,7 +25,7 @@ buildscript {
25
25
}
26
26
}
27
27
dependencies {
28
- classpath "me.shika:kotlin-object-java-serialization:1.0.0 "
28
+ classpath "me.shika:kotlin-object-java-serialization:1.0.1 "
29
29
}
30
30
}
31
31
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ allprojects {
13
13
}
14
14
15
15
group ' me.shika'
16
- version ' 1.0.0 '
16
+ version ' 1.0.1 '
17
17
}
18
18
19
19
dependencies {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class ObjectSerializationSubplugin: KotlinGradleSubplugin<AbstractCompile> {
33
33
SubpluginArtifact (
34
34
groupId = " me.shika" ,
35
35
artifactId = " kotlin-object-java-serialization" ,
36
- version = " 1.0.0 "
36
+ version = " 1.0.1 "
37
37
)
38
38
39
39
override fun isApplicable (project : Project , task : AbstractCompile ): Boolean =
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ configurations {
2
2
embedded {
3
3
transitive = false
4
4
}
5
- implementation . extendsFrom(embedded)
5
+ compileOnly . extendsFrom(embedded)
6
6
}
7
7
8
8
def embeddedProjects () {
@@ -16,11 +16,11 @@ def embeddedProjects() {
16
16
afterEvaluate {
17
17
dependencies {
18
18
embeddedProjects(). collect { it. configurations. findByName(" published" ) }
19
- .forEach {
20
- it. dependencies. forEach {
21
- runtime " $it . group :$it . name :$it . version "
22
- }
19
+ .forEach {
20
+ it. dependencies. forEach {
21
+ runtime " $it . group :$it . name :$it . version "
23
22
}
23
+ }
24
24
}
25
25
26
26
jar {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ dependencies {
12
12
13
13
testImplementation ' com.github.tschuchortdev:kotlin-compile-testing:1.2.5'
14
14
testImplementation ' junit:junit:4.12'
15
- testImplementation " org.jetbrains.kotlin:kotlin-compiler-embeddable"
16
15
}
17
16
18
17
compileKotlin {
You can’t perform that action at this time.
0 commit comments