This repository has been archived on 2024-09-22. You can view files and clone it, but cannot push or open issues or pull requests.
pbi-core/build.gradle

43 lines
668 B
Groovy

apply plugin: 'java'
apply plugin: 'eclipse'
sourceSets {
main {
java {
srcDir 'src'
}
resources {
srcDir 'src'
}
}
}
jar {
baseName = 'pbi'
manifest {
attributes(
"Main-Class": "edu.fichte.pbi.run.ConsoleMain",
"Compile-Date": new java.text.SimpleDateFormat("yyyyMMdd HHmmss").format(new java.util.Date())
)
}
}
targetCompatibility = "1.7"
sourceCompatibility = "1.7"
task srcZip (type: Zip){
baseName = 'src'
from ('src') {
exclude '**/.*'
}
}
task dist(type: Zip) {
baseName = 'pbi'
from jar
from srcZip
from 'shellscripts'
from 'src/META-INF/license.txt'
}
assemble.dependsOn dist