Skip to content
Snippets Groups Projects
Commit 4f2844a5 authored by Johannes Mey's avatar Johannes Mey
Browse files

add jastadd sources jar

parent f0298dfd
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ repositories {
configurations {
grammar2uml
relast
jss
}
sourceSets {
......@@ -41,11 +42,26 @@ sourceSets {
main {
compileClasspath += sourceSets.model.output
}
jastadd {
resources {
srcDir "src/main/jastadd"
}
}
test {
runtimeClasspath += sourceSets.model.output
}
}
task JssSourceJar(type: Jar) {
from sourceSets.jastadd.allSource
archiveClassifier = "jastadd-sources"
}
artifacts {
jss JssSourceJar
}
File genSrc = file("src/gen/java")
idea.module.generatedSourceDirs += genSrc
......@@ -218,7 +234,9 @@ publishing {
maven(MavenPublication) {
artifactId = 'preprocessor'
from components.java
artifact jastaddSourceArtifact
}
maven(MavenPublication) {
artifactId = 'preprocessor-jastadd'
}
}
repositories {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment