Skip to content

Commit 411900a

Browse files
committed
trying fix jitpack:
- removed default java.base - added destinationDir against empty packages error
1 parent 735ee17 commit 411900a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.idea/modules/kotlin-unsigned.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ compileKotlin {
4545
}
4646
// As per https://stackoverflow.com/a/47669720
4747
// See also https://discuss.kotlinlang.org/t/kotlin-support-for-java-9-module-system/2499/9
48-
// destinationDir = compileJava.destinationDir
48+
destinationDir = compileJava.destinationDir
4949
}
5050

5151
compileTestKotlin {
@@ -64,7 +64,7 @@ compileJava {
6464
}
6565

6666
jar {
67-
// inputs.property("moduleName", moduleName)
67+
inputs.property("moduleName", moduleName)
6868
// manifest.attributes('Automatic-Module-Name': moduleName)
6969
// duplicatesStrategy = DuplicatesStrategy.EXCLUDE
7070
}

src/main/java/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module com.github.kotlin_graphics.kotlin_unsigned {
2-
requires java.base;
2+
// requires java.base;
33
requires kotlin.stdlib;
44
// requires kotlin.stdlib.jdk8;
55

0 commit comments

Comments
 (0)