Skip to content

Commit

Permalink
enable sources and javadocs for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Treetrain1 committed Aug 5, 2023
1 parent 3e2faa2 commit 1906add
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -523,13 +523,13 @@ curseforge {
mainArtifact(remapJar, closureOf<CurseArtifact> {
displayName = display_name
})
//addArtifact(tasks.remapSourcesJar.get())
//addArtifact(javadocJar)
addArtifact(tasks.remapSourcesJar.get())
addArtifact(javadocJar)

afterEvaluate {
uploadTask.dependsOn(remapJar)
//uploadTask.dependsOn(tasks.remapSourcesJar.get())
//uploadTask.dependsOn(javadocJar)
uploadTask.dependsOn(tasks.remapSourcesJar.get())
uploadTask.dependsOn(javadocJar)
}
})
curseGradleOptions.forgeGradleIntegration = false
Expand All @@ -547,8 +547,8 @@ modrinth {
loaders.set(listOf("fabric", "quilt"))
additionalFiles.set(
listOf(
//tasks.remapSourcesJar.get(),
//javadocJar
tasks.remapSourcesJar.get(),
javadocJar
)
)
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 1906add

Please sign in to comment.