add source files to dist jar files
This commit is contained in:
parent
8faf8c2169
commit
05d85b2ae4
|
@ -24,6 +24,7 @@ manifest.mainAttributes("Implementation-Title": "ElasticSearch", "Implementation
|
|||
sourceSets.main.resources.srcDirs 'src/main/java', rootProject.file('config')
|
||||
sourceSets.test.resources.srcDir 'src/test/java'
|
||||
|
||||
// add the source files to the dist jar
|
||||
jar {
|
||||
from sourceSets.main.allJava
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@ configurations.testCompile.transitive = true
|
|||
sourceSets.main.resources.srcDir 'src/main/java'
|
||||
sourceSets.test.resources.srcDir 'src/test/java'
|
||||
|
||||
// add the source files to the dist jar
|
||||
jar {
|
||||
from sourceSets.main.allJava
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue