Updated include / exclude patterns for jar resources

This commit is contained in:
Miro Spönemann 2016-06-10 17:10:26 +02:00
parent 58b4da0e52
commit e6ba6be90e
2 changed files with 4 additions and 3 deletions

View file

@ -19,4 +19,5 @@ dependencies {
sourceSets.main {
java.srcDir 'packrat'
resources.include 'org/**', 'modeling32.png'
resources.exclude 'packrat'
}

View file

@ -11,9 +11,9 @@ sourceSets {
java.srcDirs = ['src', 'xtend-gen', 'src-gen', 'emf-gen']
resources {
srcDirs = ['src', 'src-gen', 'emf-gen', '.']
include 'plugin.xml', 'schema/**', 'about.ini', 'about.mappings', 'about.properties', 'about.html'
exclude '**/*._trace', '**/*.xtendbin', '**/*.xtend'
exclude 'src', 'xtend-gen', 'src-gen', 'emf-gen', 'build', 'target'
include 'plugin.xml', 'schema/**', 'model/**', 'about.ini', 'about.mappings', 'about.properties', 'about.html',
'**/*.properties', '**/*.xtextbin', '**/*.xmi', '**/*.g', '**/*.tokens'
exclude 'bin', 'src', 'xtend-gen', 'src-gen', 'emf-gen', 'build', 'target', 'build.properties'
}
}
configure(isTestProject? main : test) {