Skip to content

Commit

Permalink
fix gradle properties (libgdx#7052)
Browse files Browse the repository at this point in the history
  • Loading branch information
jskov authored Feb 28, 2023
1 parent eaefce3 commit 2b92b3f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion backends/gdx-backend-robovm-metalangle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
Expand Down
4 changes: 2 additions & 2 deletions extensions/gdx-setup/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
4 changes: 2 additions & 2 deletions tests/gdx-tests-android/obb.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion tests/gdx-tests-lwjgl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion tests/gdx-tests-lwjgl3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 2b92b3f

Please sign in to comment.