Skip to content
Snippets Groups Projects
Commit 154e87a5 authored by dgelessus's avatar dgelessus
Browse files

Use Gradle default sources and javadoc jars instead of custom ones

parent 4ea2dbe6
No related branches found
No related tags found
No related merge requests found
Pipeline #39669 passed
......@@ -26,14 +26,9 @@ repositories {
mainClassName = "org.sablecc.sablecc.SableCC"
task javadocJar(type: Jar) {
archiveClassifier.set("javadoc")
from javadoc
}
task sourcesJar(type: Jar) {
archiveClassifier.set("sources")
from sourceSets.main.allSource
java {
withSourcesJar()
withJavadocJar()
}
jar {
......@@ -42,10 +37,6 @@ jar {
}
}
artifacts {
archives javadocJar, sourcesJar
}
task writeVersion() {
doFirst {
......@@ -71,8 +62,6 @@ publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourcesJar
artifact javadocJar
pom {
name = 'SableCC - Stups fork'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment