40 lines
974 B
Groovy
40 lines
974 B
Groovy
group = 'asys'
|
|
version = '0.12-SNAPSHOT'
|
|
|
|
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath "org.dm.gradle:gradle-bundle-plugin:0.10.0"
|
|
}
|
|
}
|
|
|
|
apply plugin: 'org.dm.bundle'
|
|
|
|
configurations {
|
|
included
|
|
compile.extendsFrom included
|
|
}
|
|
|
|
jar {
|
|
dependsOn configurations.included
|
|
from { configurations.included.collect { it.isDirectory() ? it : zipTree(it).matching{exclude{it.path.contains('META-INF')} } } }
|
|
}
|
|
|
|
bundle {
|
|
instructions << [
|
|
'Bundle-Name': 'ASys Web interface',
|
|
'Bundle-Activator': 'asys.webinterface.Activator',
|
|
'Import-Package': '*',
|
|
'Export-Package': 'asys.webinterface.api'
|
|
]
|
|
exclude group: 'com.google.code.gson'
|
|
exclude group: 'commons-io'
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':core')
|
|
included group: 'com.google.code.gson', name: 'gson', version: '2.7'
|
|
included group: 'commons-io', name: 'commons-io', version: '2.5'
|
|
} |