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