diff --git a/android/build.gradle b/android/build.gradle index acea41088a..6f2e209045 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -8,8 +8,8 @@ repositories { } dependencies { - compile 'com.android.support:support-v4:22.1.1' - compile 'org.sufficientlysecure:donations:2.5' + implementation 'com.android.support:support-v4:22.1.1' + implementation 'org.sufficientlysecure:donations:2.5' } android { diff --git a/build.gradle b/build.gradle index c2cb1c9052..8d7fc9e47b 100644 --- a/build.gradle +++ b/build.gradle @@ -73,16 +73,16 @@ project(":android") { configurations { natives } dependencies { - compile project(":core") - compile project(":kryonet") - compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion" + implementation project(":core") + implementation project(":kryonet") + implementation "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion" natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi" natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a" natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a" natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86" natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64" - compile "com.badlogicgames.gdx:gdx-ai:$aiVersion" - compile "com.badlogicgames.gdx:gdx-controllers-android:$gdxVersion" + implementation "com.badlogicgames.gdx:gdx-ai:$aiVersion" + implementation "com.badlogicgames.gdx:gdx-controllers-android:$gdxVersion" } } diff --git a/core/src/io/anuke/mindustry/ai/OptimizedGraph.java b/core/src/io/anuke/mindustry/ai/OptimizedGraph.java index 9f4a7bf965..40df66bc89 100644 --- a/core/src/io/anuke/mindustry/ai/OptimizedGraph.java +++ b/core/src/io/anuke/mindustry/ai/OptimizedGraph.java @@ -5,5 +5,5 @@ import com.badlogic.gdx.ai.pfa.indexed.IndexedGraph; /**An interface for an indexed graph that doesn't use allocations for connections.*/ public interface OptimizedGraph extends IndexedGraph { /**This is used in the same way as getConnections(), but does not use Connection objects.*/ - public N[] connectionsOf(N node); + N[] connectionsOf(N node); } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 8a55292392..746a7bf80a 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.5-all.zip