Publish to Sonatype - rkbalgi/iso4k-mp GitHub Wiki
rbalgi@Raghavendras-MacBook-Air iso4k-mp % ./gradlew publishToSonatype
Task :buildSrc:compileKotlin 'compileJava' task (current target is 21) and 'compileKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
Task :kotlinNpmInstall warning Ignored scripts due to flag.
Task :compileKotlinJsIr w: /Users/rbalgi/IdeaProjects/iso4k-mp/src/jsMain/kotlin/io/github/rkbalgi/iso4k/charsets/CharsetConversions.kt: (220, 30): This cast can never succeed w: /Users/rbalgi/IdeaProjects/iso4k-mp/src/jsMain/kotlin/io/github/rkbalgi/iso4k/charsets/CharsetConversions.kt: (220, 71): This cast can never succeed w: /Users/rbalgi/IdeaProjects/iso4k-mp/src/jsMain/kotlin/io/github/rkbalgi/iso4k/charsets/CharsetConversions.kt: (223, 30): This cast can never succeed w: /Users/rbalgi/IdeaProjects/iso4k-mp/src/jsMain/kotlin/io/github/rkbalgi/iso4k/charsets/CharsetConversions.kt: (223, 70): This cast can never succeed
Task :compileKotlinJsLegacy w: /Users/rbalgi/IdeaProjects/iso4k-mp/src/jsMain/kotlin/io/github/rkbalgi/iso4k/charsets/CharsetConversions.kt: (220, 30): This cast can never succeed w: /Users/rbalgi/IdeaProjects/iso4k-mp/src/jsMain/kotlin/io/github/rkbalgi/iso4k/charsets/CharsetConversions.kt: (220, 71): This cast can never succeed w: /Users/rbalgi/IdeaProjects/iso4k-mp/src/jsMain/kotlin/io/github/rkbalgi/iso4k/charsets/CharsetConversions.kt: (223, 30): This cast can never succeed w: /Users/rbalgi/IdeaProjects/iso4k-mp/src/jsMain/kotlin/io/github/rkbalgi/iso4k/charsets/CharsetConversions.kt: (223, 70): This cast can never succeed
Task :initializeSonatypeStagingRepository Created staging repository 'iogithubrkbalgi-1012' at https://s01.oss.sonatype.org/service/local/repositories/iogithubrkbalgi-1012/content/
Task :dokkaHtml Initializing plugins Dokka is performing: documentation for iso4k Validity check Creating documentation models Transforming documentation model before merging Merging documentation models Transforming documentation model after merging Creating pages Transforming pages Rendering Running post-actions
Daemon will be stopped at the end of the build after running out of JVM memory
Task :compileKotlinJvm w: /Users/rbalgi/IdeaProjects/iso4k-mp/src/jvmMain/kotlin/io/github/rkbalgi/iso4k/LoadSpecsJvm.kt: (61, 77): Unchecked cast: List<Any?> to List
Task :signKotlinMultiplatformPublication Execution optimizations have been disabled for task ':signKotlinMultiplatformPublication' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/Users/rbalgi/IdeaProjects/iso4k-mp/build/libs/iso4k-1.0.2-javadoc.jar.asc'. Reason: Task ':publishJsPublicationToSonatypeRepository' uses this output of task ':signKotlinMultiplatformPublication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Task :signJvmPublication Execution optimizations have been disabled for task ':signJvmPublication' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/Users/rbalgi/IdeaProjects/iso4k-mp/build/libs/iso4k-1.0.2-javadoc.jar.asc'. Reason: Task ':publishJsPublicationToSonatypeRepository' uses this output of task ':signJvmPublication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Task :publishJvmPublicationToSonatypeRepository Execution optimizations have been disabled for task ':publishJvmPublicationToSonatypeRepository' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/Users/rbalgi/IdeaProjects/iso4k-mp/build/libs/iso4k-1.0.2-javadoc.jar.asc'. Reason: Task ':publishJvmPublicationToSonatypeRepository' uses this output of task ':signJsPublication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/rbalgi/IdeaProjects/iso4k-mp/build/libs/iso4k-1.0.2-javadoc.jar.asc'. Reason: Task ':publishJvmPublicationToSonatypeRepository' uses this output of task ':signKotlinMultiplatformPublication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Task :publishKotlinMultiplatformPublicationToSonatypeRepository Execution optimizations have been disabled for task ':publishKotlinMultiplatformPublicationToSonatypeRepository' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/Users/rbalgi/IdeaProjects/iso4k-mp/build/libs/iso4k-1.0.2-javadoc.jar.asc'. Reason: Task ':publishKotlinMultiplatformPublicationToSonatypeRepository' uses this output of task ':signJsPublication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/rbalgi/IdeaProjects/iso4k-mp/build/libs/iso4k-1.0.2-javadoc.jar.asc'. Reason: Task ':publishKotlinMultiplatformPublicationToSonatypeRepository' uses this output of task ':signJvmPublication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 4 invalid unit(s) of work during this build to ensure correctness. Please consult deprecation warnings for more details.
BUILD SUCCESSFUL in 1m 41s 48 actionable tasks: 40 executed, 8 up-to-date