Skip to content

Commit

Permalink
fix jitpack3
Browse files Browse the repository at this point in the history
  • Loading branch information
magicprinc committed Dec 2, 2023
1 parent 5700711 commit b641eb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 2 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,14 @@ publishing {
publications {
release(MavenPublication) { // artifactId = folder name = 'json4jsoup'
from components.java
suppressPomMetadataWarningsFor('runtimeElements')
}
}
}
tasks.withType(GenerateModuleMetadata).configureEach {
enabled = false // don't generate Gradle's json metadata and warning in pom.xml
}

javadoc {
options.encoding = 'UTF-8'
if(JavaVersion.current().isJava9Compatible()) {
options.addBooleanOption('html5', true)
}
options.addBooleanOption('html5', true)
}

idea { module { downloadJavadoc = true; downloadSources = true } }
5 changes: 4 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
group = com.github.magicprinc
version = 1.17
version = 1.17

org.gradle.jvmargs = -Dfile.encoding=UTF-8 -XX:+UseParallelGC -Xms512m -Xmx1024m -Djava.net.preferIPv4Stack=true
systemProp.file.encoding = UTF-8

0 comments on commit b641eb3

Please sign in to comment.