File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,6 +254,11 @@ createActiveTask(buildAndCollect)
254254
255255java {
256256 withSourcesJar()
257+ withJavadocJar()
258+ }
259+
260+ tasks.javadoc {
261+ isFailOnError = false
257262}
258263
259264publishMods {
@@ -359,9 +364,12 @@ gradle.taskGraph.whenReady {
359364 val willSign = allTasks.any { it.name.startsWith(" sign" ) }
360365 if (willSign) {
361366 signing {
362- isRequired = signingKeyProvider.isPresent
367+ val signingKey = signingKeyProvider.orNull
368+ val signingPassword = signingPasswordProvider.orNull
369+
370+ isRequired = signingKey != null && signingPassword != null
363371 if (isRequired) {
364- useInMemoryPgpKeys(signingKeyProvider.get(), signingPasswordProvider.get() )
372+ useInMemoryPgpKeys(signingKey, signingPassword )
365373 } else {
366374 logger.error(" Signing keys not found; skipping signing!" )
367375 }
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ allprojects {
3535 forRepository { maven(" https://thedarkcolour.github.io/KotlinForForge/" ) }
3636 filter { includeGroup(" thedarkcolour" ) }
3737 }
38- maven( " https://oss.sonatype.org/content/repositories/snapshots/ " )
38+ mavenCentral( )
3939 }
4040}
4141
You can’t perform that action at this time.
0 commit comments