Commit Graph

39 Commits

Author SHA1 Message Date
Mihai Alexandru
97e1af377a Use namespace for gradle projects to fix deprecation warnings. 2024-06-26 20:13:10 -04:00
Joseph Cloutier
ab8e479abf Merge branch 'develop' into DeprecatedGradleFeatures 2022-09-03 18:36:04 -04:00
Joseph Cloutier
da5704e263 Rename ForegroundWorkerJNISafety.
This change places the focus on the one known use case, while clearing
up potential confusion caused by similar-sounding classes that function
totally differently.
2022-06-18 21:18:02 -04:00
Joseph Cloutier
1ff434043c Remove trailing spaces. 2022-06-11 20:09:42 -04:00
Joseph Cloutier
ded22af195 Replace references to jcenter().
https://developer.android.com/studio/build/jcenter-migration

Gradle considers this function a "deprecated feature."
2022-06-05 22:37:07 -04:00
Joseph Cloutier
6e86e45851 Implement ForegroundWorker. 2022-05-31 01:06:56 -04:00
player-03
290f0bd588 Remove <uses-sdk /> from manifest.
The Android Gradle plugin prefers to retrieve this value from build.gradle, and some versions of the plugin actively complain about the tag being there.

Closes #1435
2021-10-28 03:14:05 -04:00
player-03
33cd3b15fd Set extension-api's defaultConfig.
The Android Gradle plugin prefers to use these values instead of the values in AndroidManifest.xml, and it will always ignore the manifest's `minSdkVersion` even without `defaultConfig.minSdkVersion`.
2021-10-27 20:38:26 -04:00
player-03
53c22391e2 Update extension-api's min/target sdk versions. 2021-10-27 15:16:20 -04:00
mc0239
1fcc76ee12 Use gradle built-in shorthand notations for jcenter and google 2020-01-27 12:47:52 -08:00
flashultra
72beeced30 Update to the latest Gradle 5.6.3 and Gradle Android plugin 3.5.1
Fix issue with ANDROID_GRADLE_TASK. Set apk file  in separate folder ( from
gradle  4.x)
2019-11-01 13:21:36 -07:00
melonin
6c01e873af HaxeObject.create returns null when handle is null 2019-03-18 06:23:08 -07:00
Adam
464bad5392 Use Google's default repository for extension-api gradle dependencies.
Jcenter is the default for Android Studio projects, is a superset of Maven Central, and is what is used in the default lime template.

Fixes Android builds failing to resolve gradle and gradle plugin versions that are missing from Maven Central.
2018-04-11 18:20:08 -07:00
aW4KeNiNG
f6879da971 Request Permission result for Android. 2017-07-10 17:28:02 -07:00
Joseph Cloutier
9bbb6205be Allow setting a different Gradle plugin version.
Turns out, the Gradle version (2.10) is NOT the same as the plugin version (2.1.0). These have to be treated separately.
2017-02-13 13:01:27 -05:00
Joseph Cloutier
b4055db620 Revert "Allow setting a different Gradle version."
This reverts commit af05162c72.
2017-02-13 12:55:51 -05:00
Joseph Cloutier
af05162c72 Allow setting a different Gradle version. 2017-02-12 15:17:47 -05:00
Joshua Granick
a575907cdc Fix Android so READ_PHONE_STATE is not a required permission 2016-12-09 11:26:00 -08:00
Joshua Granick
0aac32f551 Use Android build tools 24.0.1, don't require HTTPS 2016-08-08 14:42:30 -07:00
player-03
481b39b01b Fix dependencies. 2016-08-08 13:37:32 -07:00
player-03
6d55753e53 Restructure the default dependency. 2016-08-08 13:36:12 -07:00
Joshua Granick
cf1d25d950 Remove Lime legacy/hybrid mode 2016-05-18 22:17:06 -07:00
Joshua Granick
1e698225e5 Add extension.onBackPressed (for Android) 2015-09-02 19:55:28 -07:00
Joshua Granick
b75dba81a2 Update Lime.java 2015-08-17 07:54:53 -07:00
Joshua Granick
5df7984255 Do not define -Dlime-legacy when using Lime hybrid 2015-04-06 12:37:08 -07:00
Joshua Granick
3687aa18c0 Initial Lime support on Android using SDL2, need to handle assets next 2014-12-08 17:42:18 -08:00
Pascal Peridont
e4879f521b Add on(Save|Restore)InstanceState in Android extensions 2014-09-18 14:28:48 +02:00
Joshua Granick
5cb366d578 Use Extension.packageName instead of Extension.PACKAGE_NAME 2014-04-16 14:27:12 -07:00
Joshua Granick
05d54940e5 Merge pull request #131 from kiroukou/patch-1
Update Extension.java
2014-04-16 14:25:19 -07:00
Joshua Granick
b2289e5406 Merge branch 'nme-collab'
Conflicts:
	project/src/backend/sdl2/SDL2Stage.cpp
	project/src/common/Display.cpp
	project/src/common/ExternalInterface.cpp
2014-04-15 14:33:54 -07:00
kiroukou
571278aab1 Update Extension.java
Needed for our extensions
2014-04-15 14:26:43 +02:00
Rui Campos
c434febb14 improved documentation in onTrimMemory and onLowMemory of the Android extension system. 2014-04-02 16:40:04 +02:00
Rui Campos
19be58e2ee added callbacks for onLowMemory and onTrimMemory 2014-04-02 16:32:00 +02:00
Joshua Granick
673448f8a4 Android context fix 2014-04-01 19:01:55 -07:00
Joshua Granick
a706e4cacb Compile fix 2014-02-13 13:59:38 -08:00
sergey-miryanov
94d58bfc9a Fix import of View in Extension.java 2014-01-02 15:24:41 +06:00
sergey-miryanov
c46127743e Add mainView property to Extension 2014-01-02 03:43:07 +06:00
Joshua Granick
b2da64c536 Initial pass on renaming project code to lime 2013-11-27 18:05:59 -08:00
underscorediscovery
b4bc627a22 Fixing Android builds with missing dependencies, making sure templates are up to date. Fixing include.xml as well for that 2013-11-25 07:26:40 -03:30