Commit 154e87a5 authored by dgelessus's avatar dgelessus
Browse files

Use Gradle default sources and javadoc jars instead of custom ones

parent 4ea2dbe6
Pipeline #39669 passed with stages
in 2 minutes and 35 seconds
......@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment