Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
Build with gradle 2.0 and compile with java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
cmadsen committed Aug 5, 2014
1 parent 6c24bc3 commit 38fc866
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
group = 'com.github.insubstantial'
version = '7.3-SNAPSHOT'

if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}

subprojects {
apply plugin: 'java'
apply plugin: 'maven'
Expand All @@ -25,9 +33,9 @@ subprojects {
}

repositories {
mavenRepo url: 'https://oss.sonatype.org/content/groups/staging'
maven { url 'https://oss.sonatype.org/content/groups/staging' }
mavenCentral()
mavenRepo url: new File(System.getProperty('user.home'), '.m2/repository').toURI().toString()
maven { url new File(System.getProperty('user.home'), '.m2/repository').toURI().toString() }
}

task sourceJar(type: Jar) {
Expand Down

0 comments on commit 38fc866

Please sign in to comment.