Skip to content

Commit 70ad3ce

Browse files
committed
update libgdx to v0.6.2
1 parent c33c24e commit 70ad3ce

File tree

5 files changed

+8
-51
lines changed

5 files changed

+8
-51
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
88

99
### Added
1010
- Interpolation support for position and scale actions
11+
- Update to libgdx v1.6.2. WARNING: Projects have to be modified in order to work the IOS version.
12+
More info: http://www.badlogicgames.com/wordpress/?p=3694
1113

1214
### Fixed
1315
- Compute BBox in renderer Refactor to allow recompute bbox when animation complete.
1416
- Fix animationTime when reverse animation in SpineRenderer
1517
- Fix save/game screen slot size
18+
- Composer: fix when generating world keys for i18n + doesn't remove ui.* keys.
1619

1720
## [0.8.7]
1821

adventure-composer/src/main/java/com/bladecoder/engineeditor/setup/BuildScriptHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private static void addDependencies(ProjectType project, List<Dependency> depend
8383
if (dep.getDependencies(project) == null) continue;
8484
for (String moduleDependency : dep.getDependencies(project)) {
8585
if (moduleDependency == null) continue;
86-
if ((project.equals(ProjectType.ANDROID) || project.equals(ProjectType.IOS)) && moduleDependency.contains("native")) {
86+
if ((project.equals(ProjectType.ANDROID)) && moduleDependency.contains("native")) {
8787
write(wr, "natives \"" + moduleDependency + "\"");
8888
} else {
8989
if(moduleDependency.startsWith("fileTree("))

adventure-composer/src/main/resources/projectTmpl/ios/build.gradle

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -7,52 +7,6 @@ ext {
77
mainClassName = "%PACKAGE%.ios.IOSLauncher"
88
}
99

10-
// Extracts native libs (*.a) from the native-ios.jar and places them
11-
// under build/libs/ios/.
12-
task copyNatives << {
13-
file("build/libs/ios/").mkdirs();
14-
configurations.natives.files.each { jar ->
15-
def outputDir = null
16-
if (jar.name.endsWith("natives-ios.jar")) outputDir = file("build/libs/ios")
17-
if (outputDir != null) {
18-
copy {
19-
from zipTree(jar)
20-
into outputDir
21-
include "*.a"
22-
}
23-
}
24-
}
25-
}
26-
27-
// Updates a robovm.xml file.
28-
task updateRoboVMXML << {
29-
def xml = file('robovm.xml')
30-
31-
if (!xml.exists()) {
32-
return
33-
}
34-
35-
// Find all native (*.a) libraries beneath libs
36-
def libtree = fileTree(dir: 'build/libs', include: '**/*.a')
37-
38-
def config = new groovy.util.XmlParser().parse(xml)
39-
config.libs.each {libs ->
40-
libs.children().clear()
41-
libtree.each { File file ->
42-
libs.appendNode('lib', 'build/libs/ios/' + file.getName())
43-
}
44-
}
45-
46-
def writer = new FileWriter(xml)
47-
def printer = new XmlNodePrinter(new PrintWriter(writer))
48-
printer.setPreserveWhitespace true
49-
printer.print(config)
50-
}
51-
52-
updateRoboVMXML.dependsOn copyNatives
53-
build.dependsOn updateRoboVMXML
54-
tasks.eclipse.dependsOn updateRoboVMXML
55-
5610
launchIPhoneSimulator.dependsOn build
5711
launchIPadSimulator.dependsOn build
5812
launchIOSDevice.dependsOn build

adventure-composer/src/main/resources/versions.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version=0.8.8
2-
libgdxVersion=1.6.0
3-
roboVMVersion=1.2.0
4-
roboVMGradlePluginVersion=1.2.0
2+
libgdxVersion=1.6.2
3+
roboVMVersion=1.3.0
4+
roboVMGradlePluginVersion=1.3.0
55
buildToolsVersion=20.0.0
66
androidAPILevel=20
77
androidGradlePluginVersion=1.2.3

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ allprojects {
55
version = '0.8.8'
66

77
ext {
8-
gdxVersion = '1.6.0'
8+
gdxVersion = '1.6.2'
99
}
1010

1111
repositories {

0 commit comments

Comments
 (0)