Skip to content

Commit

Permalink
Added jar creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Poeschl committed Jul 3, 2016
1 parent 7b689de commit 639e7aa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ cache:
- $HOME/.gradle/

script:
- ./gradlew check jacocoTestReport coveralls
- ./gradlew check

after_script:
- ./gradlew jacocoTestReport coveralls
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ buildscript {
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.1"
classpath "org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.6.3"
classpath "com.github.jengelman.gradle.plugins:shadow:1.2.3"
}
}
repositories {
Expand All @@ -20,6 +21,7 @@ apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: "jacoco"
apply plugin: 'com.github.kt3k.coveralls'
apply plugin: "com.github.johnrengelman.shadow"

sourceCompatibility = 1.7

Expand All @@ -40,6 +42,13 @@ jacocoTestReport {
}
}

//noinspection GroovyAssignabilityCheck
jar {
manifest {
attributes 'Main-Class': 'io.github.poeschl.example.kotlindecider.ApplicationKt'
}
}

dependencies {
compile 'org.jetbrains.kotlin:kotlin-stdlib:1.0.1'
compile 'args4j:args4j:2.33'
Expand Down

0 comments on commit 639e7aa

Please sign in to comment.