diff --git a/build.gradle b/build.gradle index 02181cb..1b63485 100644 --- a/build.gradle +++ b/build.gradle @@ -8,10 +8,6 @@ apply plugin: 'maven-publish' group = 'com.mojang' version = project.hasProperty('buildNumber') ? "${project.majorMinor}.${project.buildNumber}" : "${project.majorMinor}.0-SNAPSHOT" -task wrapper(type: Wrapper) { - gradleVersion = '4.0' -} - buildscript { repositories { mavenCentral() @@ -33,13 +29,13 @@ repositories { } dependencies { - testCompile 'com.google.guava:guava:21.0' - testCompile 'junit:junit-dep:4.10' - testCompile 'org.hamcrest:hamcrest-library:1.2.1' - testCompile 'org.mockito:mockito-core:1.8.5' - testCompile 'com.google.guava:guava-testlib:21.0' - testCompile 'org.openjdk.jmh:jmh-core:1.19' - testCompile 'org.openjdk.jmh:jmh-generator-annprocess:1.19' + testCompile 'com.google.guava:guava:26.0-jre' + testCompile 'junit:junit-dep:4.11' + testCompile 'org.hamcrest:hamcrest-library:1.3' + testCompile 'org.mockito:mockito-core:1.10.19' + testCompile 'com.google.guava:guava-testlib:26.0-jre' + testCompile 'org.openjdk.jmh:jmh-core:1.21' + annotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess:1.21' } task sourcesJar(type: Jar) { diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 9cd52de..3345424 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 70823f5..37739df 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Wed Jun 21 14:07:34 CEST 2017 +#Sat Oct 06 16:17:40 EEST 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip diff --git a/settings.gradle b/settings.gradle index 85ab9c7..c82198a 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1,2 @@ -rootProject.name = 'brigadier' \ No newline at end of file +rootProject.name = 'brigadier' +enableFeaturePreview('STABLE_PUBLISHING')