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

put resources into main dependency

parent f7ad95c2
No related branches found
No related tags found
No related merge requests found
...@@ -41,8 +41,6 @@ sourceSets { ...@@ -41,8 +41,6 @@ sourceSets {
} }
main { main {
compileClasspath += sourceSets.model.output compileClasspath += sourceSets.model.output
}
jastadd {
resources { resources {
srcDir "src/main/jastadd" srcDir "src/main/jastadd"
} }
...@@ -53,14 +51,14 @@ sourceSets { ...@@ -53,14 +51,14 @@ sourceSets {
} }
task JssSourceJar(type: Jar) { //task JssSourceJar(type: Jar) {
from sourceSets.jastadd.allSource // from sourceSets.jastadd.allSource
archiveClassifier = "jastadd-sources" // archiveClassifier = "jastadd-sources"
} //}
//
artifacts { //artifacts {
archives JssSourceJar // archives JssSourceJar
} //}
File genSrc = file("src/gen/java") File genSrc = file("src/gen/java")
idea.module.generatedSourceDirs += genSrc idea.module.generatedSourceDirs += genSrc
...@@ -234,7 +232,7 @@ publishing { ...@@ -234,7 +232,7 @@ publishing {
maven(MavenPublication) { maven(MavenPublication) {
artifactId = 'preprocessor' artifactId = 'preprocessor'
from components.java from components.java
artifact JssSourceJar // artifact JssSourceJar
} }
} }
repositories { repositories {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment