Skip to content

Commit

Permalink
Gradle versions plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kimble committed Sep 11, 2015
1 parent 99843c3 commit 27fb973
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
26 changes: 19 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
plugins {
id 'java'
id 'groovy'
id 'application'
id 'com.github.johnrengelman.shadow' version '1.2.2'
}
apply plugin: 'com.github.ben-manes.versions'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'application'


repositories {
jcenter()
}


buildscript {
repositories {
jcenter()
}

dependencies {
classpath 'com.github.ben-manes:gradle-versions-plugin:0.11.3'
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.2'
}
}

if (!JavaVersion.current().java8Compatible) {
throw new IllegalStateException('''A Haiku:
| This needs Java 8,
Expand Down Expand Up @@ -51,5 +63,5 @@ run {


task wrapper(type: Wrapper) {
gradleVersion = '2.5'
gradleVersion = '2.6'
}
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 @@
#Fri Sep 11 20:00:52 CEST 2015
#Fri Sep 11 20:11:25 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-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip

0 comments on commit 27fb973

Please sign in to comment.