Skip to content

Commit

Permalink
Fix travis issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miky authored and Miky committed Sep 22, 2014
1 parent aff2d0a commit 79ef4e4
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions build.gradle.travis
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'eclipse'

sourceCompatibility = 1.7

group = 'org.beyene'
archivesBaseName = 'sius'
version = '0.2.0-SNAPSHOT'

sourceSets {
main {
java {
exclude 'org/beyene/sius/example/**'
}
}
}

jar {
manifest {
attributes 'Implementation-Title': 'Sius', 'Implementation-Version': version
}
}

repositories {
mavenCentral()
}

dependencies {
testCompile group: 'junit', name: 'junit', version: '4.+'
}

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}

tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:all'
}

artifacts {
archives sourcesJar, javadocJar
}

0 comments on commit 79ef4e4

Please sign in to comment.