OSDN Git Service

minor fixes
authorbadlogic <badlogicgames@gmail.com>
Sat, 5 Oct 2013 13:36:48 +0000 (15:36 +0200)
committerbadlogic <badlogicgames@gmail.com>
Sat, 5 Oct 2013 13:36:48 +0000 (15:36 +0200)
extensions/gdx-setup/src/com/badlogic/gdx/setup/GdxSetup.java
extensions/gdx-setup/src/com/badlogic/gdx/setup/resources/core/build.gradle

index 07e06da..a270b1d 100644 (file)
@@ -60,6 +60,9 @@ public class GdxSetup {
                values.put("%MAIN_CLASS%", mainClass);
                
                copyAndReplace(outputDir, project, values);
+               
+               // HACK executable flag isn't preserved for whatever reason...
+               new File(outputDir, "gradlew").setExecutable(true);
        }
 
        private void copyAndReplace (String outputDir, Project project, Map<String, String> values) {
index 9daa508..6058a93 100644 (file)
@@ -9,5 +9,5 @@ dependencies {
 sourceSets.main.java.srcDirs = [ "src/" ]
 
 eclipse.project {
-    name = appName
+    name = appName + "-core"
 }
\ No newline at end of file