Skip to content

Commit

Permalink
update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgeiger committed Oct 5, 2015
1 parent da2626d commit b4111fb
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 49 deletions.
91 changes: 44 additions & 47 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,51 +1,66 @@
apply plugin: "java"
apply plugin: "idea"
apply plugin: "eclipse"
apply plugin: "application"

mainClassName = "de.uniba.dsg.bpmnspector.BPMNspectorMain"
buildscript {
repositories {
jcenter()
}

version = 1.0
dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1'
}
}

task wrapper(type: Wrapper) {
gradleVersion = '2.5'
plugins {
id "java"
id "idea"
id "eclipse"
id "application"
id "jacoco"
id "com.github.kt3k.coveralls" version "2.4.0"
id "com.jfrog.bintray" version "1.3.1"
}

repositories {
jcenter()
}

configurations {
internal
external
dependencies {
compile 'org.jdom:jdom2:2.0.6'
compile 'jaxen:jaxen:1.1.+'
compile 'ch.qos.logback:logback-core:1.1.+'
compile 'ch.qos.logback:logback-classic:1.1.+'
compile 'org.slf4j:slf4j-api:1.7.+'
compile 'com.phloc:phloc-commons:4.3.+'
compile 'commons-cli:commons-cli:1.3.+'
compile 'org.apache.velocity:velocity:1.7'

compile files(fileTree(dir: "lib", includes: ['*.jar']))

testCompile 'junit:junit:4.+'
}

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
mainClassName = "de.uniba.dsg.bpmnspector.BPMNspectorMain"

dependencies {
internal 'org.jdom:jdom2:2.0.6'
internal 'jaxen:jaxen:1.1.+'
internal 'ch.qos.logback:logback-core:1.1.+'
internal 'ch.qos.logback:logback-classic:1.1.+'
internal 'org.slf4j:slf4j-api:1.7.+'
internal 'com.phloc:phloc-commons:4.3.+'
internal 'commons-cli:commons-cli:1.3.+'
internal 'org.apache.velocity:velocity:1.7'
version = "1.0.1"

run {
if(project.hasProperty('args')){
args project.args.split('\\s+')
}
}

external files(fileTree(dir: "lib", includes: ['*.jar']))
task wrapper(type: Wrapper) {
gradleVersion = '2.7'
}

testCompile 'junit:junit:4.+'

compile configurations.internal
compile configurations.external
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}


jar.archiveName = "BPMNspector.jar"

jar {
manifest { attributes 'Main-Class': mainClassName }
manifest { attributes 'Main-Class': mainClassName }
}

task fatJar(type: Jar) {
Expand All @@ -55,24 +70,6 @@ task fatJar(type: Jar) {
with jar
}

run {
if(project.hasProperty('args')){
args project.args.split('\\s+')
}
}

apply plugin: 'jacoco'
apply plugin: 'com.github.kt3k.coveralls'

buildscript {
repositories {
jcenter()
}

dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1'
}
}

jacocoTestReport {
reports {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Mar 24 10:54:04 CET 2015
#Mon Oct 05 20:42:19 CEST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.7-bin.zip

0 comments on commit b4111fb

Please sign in to comment.