Joe Bowser
9cf38f8705
CB-11907: Bumping Gradle to work with Android Studio 2.2 and the Gradle Plugin, I should have done this last commit
...
This closes #336
2016-09-26 15:28:02 -07:00
Joe Bowser
9586a7ddcd
CB-11907: Bumping Android Gradle Plugin version to 2.2 so this works with Android Studio
2016-09-26 15:06:44 -07:00
Pierre-Alexis de Solminihac
23fd0982b0
replace Integer.parseInt with BigInteger so that you can use longer Android version codes
...
I used to have DNS like version codes (YYYYmmmddXX format) for my apps builds, and I can't go back in older apps because Google Play wont allow me to upload inferior version codes, so I thing we should to use BigInteger instead of Integer.parseInt
This closes #298
2016-09-12 10:39:34 -07:00
Joe Bowser
04a3c9d9ee
Adding mavenCentral just in case
...
This closes #309
2016-06-09 10:50:00 -07:00
Joe Bowser
db4d1f5768
CB-11383: Update to gradle for using jcenter and correct Application plugin
2016-06-06 11:21:30 -07:00
Joe Bowser
e9e27ca47c
CB-10096: Upgrading to Gradle Plugin 2.1.0
2016-05-09 10:59:36 -07:00
Nikhil Khandelwal
8b96081579
CB-11153 Move to gradle version 2.13
...
This closes #299
2016-04-26 14:56:02 -07:00
Joe Bowser
bad0034e5d
CB-8976: I wish there was an easier way to test gradle stuff then check it in without having to remember to delete imports
...
This closes #270
2016-03-04 09:53:01 -08:00
Joe Bowser
99d5ff7347
CB-8976: Accidentally left in the crosswalk build from when I was experimenting with this file
2016-03-04 09:53:00 -08:00
Joe Bowser
dc579417fe
CB-8976: Removing the auto-version for non-Crosswalk applications
2016-03-04 09:53:00 -08:00
Joe Bowser
11760afddd
CB-8864: Fixing this to mitigate CB-8685 and CB-10104
2016-01-12 10:39:55 -08:00
Darryl Pogue
fb9cf60c41
CB-10014: Set gradle applicationId to package name.
...
This closes 247
2016-01-04 12:18:55 -08:00
Joe Bowser
70bc7b39b7
CB-9479: Fixing the conditionals again, we should be more vigilant on the gradle versions.
2015-12-07 15:03:02 -08:00
fujunwei
0429bb0ab8
The extra digit need to be added to the end of the version code
...
The version code of default config is generated by the environment variable
and the value from AndroidManifest.xml.
The test case is using the command line "cordova build -- --versionCode=100".. This closes #211
2015-10-19 11:25:33 -07:00
Jose Pereira
4b3cc67353
CB-9392 Fixed printing flavored versions. This closes #184
2015-07-20 16:52:28 +03:00
Malte Legenhausen
2fc86e2833
CB-9391 Fixes cdvBuildMultipleApks option casting
...
This closes #199
2015-07-20 15:59:27 +03:00
Andrew Grieve
b27d283f21
CB-8548 Fix keystore type detection (broken by 97718a0a25
)
2015-04-07 20:36:13 -04:00
Andrew Grieve
51adf81918
CB-8781 Add building of .so files within libs/ to gradle rules
2015-04-01 13:33:48 -04:00
Andrew Grieve
97718a0a25
CB-8548 Allow ant-style property key for key.store.type
...
Other properties already allowed ant-style. This one was missed.
2015-03-31 20:42:26 -04:00
Andrew Grieve
beab74adf5
CB-8548 Allow ant-style property keys in signing.properties files
...
Provides easier backwards compatibility
close #155
2015-02-25 15:41:58 -05:00
Andrew Grieve
1b4f5b13f1
CB-8548 Use debug-signing.properties and release-signing.properties when they exist
2015-02-25 14:16:29 -05:00
Andrew Grieve
bf327f3916
Allow cdvMinSdkVersion and cdvVersionCode to be set to ints (instead of just strings)
2015-01-30 11:42:56 -05:00
Andrew Grieve
98f90340f3
Make plugin .gradle extensions run at the same point as build-extras.gradle
...
This lets them change cdv* property defaults, and allows modifying
values at the end as well.
2015-01-26 16:26:57 -05:00
Andrew Grieve
a3457d9408
CB-8026 Remove default target value from gradle file
...
Wasn't being used anyways, and it still referenced android-19
This also switches to using a Properties object rather than a RegEx
for parsing project.properties
2015-01-20 11:33:55 -05:00
Andrew Grieve
b69fed18e2
Move cordova.gradle from project template to CordovaLib
...
Make it easier to share with tests project.
Also, one less file in the project template is a good thing.
2015-01-20 11:04:40 -05:00
Andrew Grieve
92d1080b2f
Adds cdvPrintProps
gradle task: dumps out all cdv properties
...
Useful for debugging.
2015-01-19 21:59:02 -05:00
Andrew Grieve
893c0e9b67
CB-8255 Pass arch
to gradle regardless of cdvBuildMultipleApks
...
This also pushes the "which target to build" logic into gradle, since
build.js doesn't actually know the value of `cdvBuildMultipleApks`.
2015-01-19 21:56:46 -05:00
Andrew Grieve
c3610aa43c
CB-8255 Use properties rather than environment variables for gradle settings
2015-01-08 15:26:24 -05:00
Andrew Grieve
480af2644c
CB-8228 Gradle: Allow plugins to use Maven dependencies
2014-12-30 22:57:53 -05:00
Andrew Grieve
7cfb33d0ef
CB-7980 Add --minSdkVersion and --versionCode flags to cordova/build command
...
These are also exposed via environment variables: ANDROID_VERSION_CODE, ANDROID_MIN_SDK_VERSION
This also fixes build.gradle modifying the value set by ANDROID_VERSION_CODE when multi-apk is enabled (override should never be modified)
2014-12-23 16:26:43 -05:00
Mark Koudritsky
9224ab1592
CB-7980: Add 9 to versionCode for minSdk 20+ if not multiarch
2014-12-23 15:29:40 -05:00
fujunwei
931a996dab
Allow plugins to set ext.multiarch to enable multiple APK building
...
The xwalk webView need build multiple apks by default after install
cordova-crosswalk-engine plugin, we can set ext.multiarch=true to open
the flag in plugin, it don't necessary set system environment BUILD_MULTIPLE_APKS
manually.
This closes #141
2014-12-22 23:19:27 -05:00
Andrew Grieve
6b6e887c2f
CB-8143 Use gradle 2.2.1 instead of 1.12 to appease Android Studio 1.0 warning-on-startup
2014-12-22 11:37:06 -05:00
Andrew Grieve
b92303b1c9
CB-8143 Use gradle plugin 1.0.0 for Android Studio 1.0.0
2014-12-22 11:19:21 -05:00
Andrew Grieve
731a36d3a0
CB-8202 Fix gradle build signing when passwords provided interactively
2014-12-22 10:21:17 -05:00
fujunwei
ba140a8a84
Add a section for plugin extensions
...
The build.gradle will apply gradle srcipte from plugin extension
When install the plugin with "gradleReference" framework.
The gradle can set ext.multiarch=true to support multiple APKs by
default, so add this section in here.
2014-12-10 15:44:39 -05:00
Ian Clelland
f953e6adb8
CB-8143: Use the correct Android Gradle plugin for the installed Gradle version
2014-12-10 10:07:05 -05:00
Andrew Grieve
7fbb2b195f
CB-8081 Allow gradle builds to use Java 6 instead of requiring 7
2014-11-26 11:44:49 -05:00
Andrew Grieve
ce5d9a2ee8
gradle: Allow storeType to be set (allows using .p12 files)
2014-10-21 12:59:34 -04:00
Andrew Grieve
77c51d3ae7
gradle: Allow absolute paths to keystore files
2014-10-21 12:43:30 -04:00
Andrew Grieve
6b71c2f392
gradle: Have project's build.gradle look for a build-extras.gradle
2014-09-23 21:03:17 -04:00
Andrew Grieve
0d313a3964
gradle: Write sub-project list explicitly to make Android Studio happy
2014-09-23 21:03:00 -04:00
Andrew Grieve
2b128b85f7
CB-7512 Make gradle build only a single config for sub-libraries (release vs debug)
2014-09-22 20:54:28 -04:00
Andrew Grieve
3f83fdbfc1
CB-7512 Fix gradle asking for release password when building for debug
2014-09-17 21:27:06 -04:00
Ian Clelland
7ce46ed60c
CB-3445: Make minSdkVersion and base versionCode settable through env vars
2014-09-17 15:58:22 -04:00
Andrew Grieve
cb442364ca
CB-7512 Make key password optional & prompt for it when missing
2014-09-17 15:29:57 -04:00
Andrew Grieve
25be42d385
CB-7512 Add gradle environment vars for signing apks
2014-09-16 13:01:25 -04:00
Andrew Grieve
00f6d30e08
CB-7512 Change gradle android plugins from 0.10 -> 0.12
2014-09-16 13:00:27 -04:00
Ian Clelland
c8bbdb23de
CB-7512: Determine SDK and build tools version dynamcally at build time
2014-09-10 10:57:43 -04:00
Ian Clelland
7ee8117186
CB-7463: Adding licence to project template gradle file
2014-09-10 10:54:21 -04:00