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 { ...@@ -26,14 +26,9 @@ repositories {
mainClassName = "org.sablecc.sablecc.SableCC" mainClassName = "org.sablecc.sablecc.SableCC"
task javadocJar(type: Jar) { java {
archiveClassifier.set("javadoc") withSourcesJar()
from javadoc withJavadocJar()
}
task sourcesJar(type: Jar) {
archiveClassifier.set("sources")
from sourceSets.main.allSource
} }
jar { jar {
...@@ -42,10 +37,6 @@ jar { ...@@ -42,10 +37,6 @@ jar {
} }
} }
artifacts {
archives javadocJar, sourcesJar
}
task writeVersion() { task writeVersion() {
doFirst { doFirst {
...@@ -71,8 +62,6 @@ publishing { ...@@ -71,8 +62,6 @@ publishing {
publications { publications {
mavenJava(MavenPublication) { mavenJava(MavenPublication) {
from components.java from components.java
artifact sourcesJar
artifact javadocJar
pom { pom {
name = 'SableCC - Stups fork' 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