add source files to dist jar files

This commit is contained in:
kimchy 2010-04-01 23:05:05 +03:00
parent 50249f4e52
commit 8faf8c2169
2 changed files with 8 additions and 2 deletions

View File

@ -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 }

View File

@ -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 {