add source files to dist jar files
This commit is contained in:
parent
50249f4e52
commit
8faf8c2169
|
@ -1,5 +1,3 @@
|
|||
import java.text.SimpleDateFormat
|
||||
|
||||
dependsOn(':test-testng')
|
||||
|
||||
usePlugin 'java'
|
||||
|
@ -26,6 +24,10 @@ manifest.mainAttributes("Implementation-Title": "ElasticSearch", "Implementation
|
|||
sourceSets.main.resources.srcDirs 'src/main/java', rootProject.file('config')
|
||||
sourceSets.test.resources.srcDir 'src/test/java'
|
||||
|
||||
jar {
|
||||
from sourceSets.main.allJava
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile('jline:jline:0.9.94') { transitive = false }
|
||||
|
||||
|
|
|
@ -15,6 +15,10 @@ configurations.testCompile.transitive = true
|
|||
sourceSets.main.resources.srcDir 'src/main/java'
|
||||
sourceSets.test.resources.srcDir 'src/test/java'
|
||||
|
||||
jar {
|
||||
from sourceSets.main.allJava
|
||||
}
|
||||
|
||||
configurations {
|
||||
dists
|
||||
distLib {
|
||||
|
|
Loading…
Reference in New Issue