Skip to content

Commit

Permalink
add gradle properties
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinSchramm committed Feb 27, 2021
1 parent ffbbc77 commit c018342
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ subprojects {
publications {

val sourcesJar by tasks.registering(Jar::class) {
archiveClassifier.value("sources")
archiveClassifier.set("sources")
from(project.the<SourceSetContainer>()["main"].allSource)
}

val javaDocJar by tasks.registering(Jar::class) {
archiveClassifier.value("javadoc")
from(tasks.dokkaJavadoc.get())
archiveClassifier.set("javadoc")
from(tasks.dokkaJavadoc.get().outputDirectory.get())
}

create(project.name, MavenPublication::class) {
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
org.gradle.jvmargs=-XX:MaxMetaspaceSize=1024m
org.gradle.daemon=false

0 comments on commit c018342

Please sign in to comment.