Closed ntherning closed 9 years ago
I can confirm that the tar.gz
unpacking doesn't preserve timestamps. Since we unpack on every build when using a SNAPSHOT version of the dist.tar.gz
each build will see new timestamps and the cache will be ignored.
Change the RoboVM version in the root
build.gradle
file inrobovm-samples
to1.3.1-SNAPSHOT
. Every launch using the Gradle plugin of one of the samples will rebuild all classes and seems to ignore the cache. It doesn't happen with the Maven plugin and not when launching the compiler directly usingAppCompiler
. So my guess would be the unpacking of thedist.tar.gz
which we had to change recently. If the unpacking doesn't preserve last modification times of the JAR files the cached files will appear as outdated and every class inrobovm-rt
/robovm-cocoatouch
will need to be recompiled.