File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
src/main/java/net/minecraftforge/gradle/common Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1- # Sat Jul 25 16:06:56 CDT 2015
1+ # Mon Feb 16 23:11:05 CST 2015
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-2.5 -bin.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-2.6 -bin.zip
Original file line number Diff line number Diff line change @@ -75,8 +75,9 @@ public final void apply(Project arg)
7575 // check for gradle version
7676 {
7777 List <String > split = Splitter .on ('.' ).splitToList (project .getGradle ().getGradleVersion ());
78+
7879 int major = Integer .parseInt (split .get (0 ));
79- int minor = Integer .parseInt (split .get (1 ));
80+ int minor = Integer .parseInt (split .get (1 ). split ( "-" )[ 0 ] );
8081
8182 if (major <= 1 || (major == 2 && minor < 3 ))
8283 throw new RuntimeException ("ForgeGradle 2.0 requires Gradle 2.3 or above." );
You can’t perform that action at this time.
0 commit comments