diff --git a/backends/gdx-backend-robovm-metalangle/build.gradle b/backends/gdx-backend-robovm-metalangle/build.gradle index e1556f9cf4a..972a74f3982 100644 --- a/backends/gdx-backend-robovm-metalangle/build.gradle +++ b/backends/gdx-backend-robovm-metalangle/build.gradle @@ -48,7 +48,7 @@ dependencies { task generate(type: JavaExec) { dependsOn configurations.generator - main = 'JavaCodeGenerator' + mainClass = 'JavaCodeGenerator' classpath = sourceSets.generator.runtimeClasspath inputs.dir '../gdx-backend-robovm/src/' diff --git a/extensions/gdx-setup/build.gradle b/extensions/gdx-setup/build.gradle index def4d8ef8ed..45453e28e85 100644 --- a/extensions/gdx-setup/build.gradle +++ b/extensions/gdx-setup/build.gradle @@ -19,12 +19,12 @@ plugins { } application { - mainClassName = 'com.badlogic.gdx.setup.GdxSetup' + mainClass = 'com.badlogic.gdx.setup.GdxSetup' } jar { archiveFileName = 'gdx-setup.jar' manifest { - attributes 'Main-Class': project.mainClassName + attributes 'Main-Class': project.application.mainClass.get() } } diff --git a/tests/gdx-tests-android/obb.gradle b/tests/gdx-tests-android/obb.gradle index ce6be65a83b..552bcc3509d 100644 --- a/tests/gdx-tests-android/obb.gradle +++ b/tests/gdx-tests-android/obb.gradle @@ -12,10 +12,10 @@ task copyAssets { } task zipAssets(type: Zip) { - destinationDir = file("build/obb") + destinationDirectory = file("build/obb") entryCompression = ZipEntryCompression.STORED from "build/obbassets" - archiveName = "main.1.com.badlogic.gdx.tests.android.obb" + archiveFileName = "main.1.com.badlogic.gdx.tests.android.obb" } def getADBPath() { diff --git a/tests/gdx-tests-lwjgl/build.gradle b/tests/gdx-tests-lwjgl/build.gradle index 6a10df5432a..0e04d4d33f6 100644 --- a/tests/gdx-tests-lwjgl/build.gradle +++ b/tests/gdx-tests-lwjgl/build.gradle @@ -26,7 +26,7 @@ dependencies { } task launchTestsLwjgl (dependsOn: classes, type: JavaExec) { - main = mainTestClass + mainClass = mainTestClass classpath = sourceSets.main.runtimeClasspath standardInput = System.in workingDir = new File("../gdx-tests-android/assets") diff --git a/tests/gdx-tests-lwjgl3/build.gradle b/tests/gdx-tests-lwjgl3/build.gradle index dc3fc40634e..78a91e9bed3 100644 --- a/tests/gdx-tests-lwjgl3/build.gradle +++ b/tests/gdx-tests-lwjgl3/build.gradle @@ -37,7 +37,7 @@ dependencies { } task launchTestsLwjgl3 (dependsOn: classes, type: JavaExec) { - main = mainTestClass + mainClass = mainTestClass classpath = sourceSets.main.runtimeClasspath standardInput = System.in workingDir = new File("../gdx-tests-android/assets")