Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Nick Alexander 8439f6ad90 Bug 1233882 - Post: Update Android Gradle plugin to 1.5.0. r=me
MozReview-Commit-ID: 96Ot6X6d3rl

--HG--
extra : rebase_source : b6340af68a8116bc24e5a3ea1fd14dc6233bc09d
extra : histedit_source : fa5d973eda1ba57ca6254e8922cc0343c1998a39
2016-02-17 19:16:41 -08:00
Nick Alexander 9d87131d31 Bug 1247375 - Part 2: Add build system Gradle defines for Fennec. r=glandium
Enable building with Gradle using --with-gradle.  Configure the
location of Gradle with --with-gradle=/path/to/gradle.  For local
developers, this is always the in tree Gradle wrapper, which downloads
and installs the correct Gradle version automatically.  In automation,
this will be a version of Gradle fetched from tooltool.

Configure the location to use to download Gradle Maven dependencies
(including the Android-Gradle plugin) by setting
GRADLE_MAVEN_REPOSITORY in your mozconfig. For local developers, this
defaults to the jcenter repository.  In automation, this will be an
archived directory fetched from tooltool.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: Hrkn88Vig5H

--HG--
extra : rebase_source : c5e83590c9b28ad5a10f91ec0a3663e6d64b3b40
extra : amend_source : c3e162673238d6c6191838cc98f8301e325e01a2
2016-02-10 19:29:27 -08:00
Nick Alexander c4f4d0e3d9 Bug 1248005 - Use com.stanfy.spoon:spoon-gradle-plugin:1.0.4. r=me
MozReview-Commit-ID: 8hSOCq8XpZ7

--HG--
extra : rebase_source : 2a53bf00a5ffbf3882d6b144e2c14979bf3c02ad
extra : amend_source : f878e1ea6f2bad11b1ba53e499573b50a34794d5
extra : histedit_source : 5ea4d001fa8b6c039785708fca5bffcbfd07dcea
2016-02-11 12:44:53 -08:00
Nick Alexander b3f4d4d9e6 Bug 1242284 - Pre: Remove no longer required Maven repository; bump test-only dependency. r=me
jcenter() now contains both com.squareup.spoon:spoon-runner:1.1.10 and
org.simpleframework:simple-http:6.0.1 so we can get rid of some
outdated listings.

--HG--
extra : commitid : ET5J8Paj76Q
extra : rebase_source : a8273537366b042338274037bd3ac1ad8e8f9cfe
2015-12-16 20:00:16 -08:00
Nick Alexander c438fd1f6f Bug 1107811 - Part 4: Exclude all but mobile/. r=me
--HG--
extra : commitid : 74U8fEJ56gs
extra : rebase_source : b7b4c64fce0d0be99c009d60e00e31b3566a432b
extra : histedit_source : 40c112ab0114735734efa948060f87ccf81c3db8
2015-12-02 14:57:12 -08:00
Nick Alexander 44046732fb Bug 1220887 - Make 'base' Gradle project in the srcdir. r=sebastian
This is the last Gradle project that isn't in the srcdir.  Since base/
doesn't have the correct package prefix directory structure, we still
need to symlink, but we only need one link.  This effectively
deprecates |mach gradle-install|.

This should improve the robustness of our Gradle configuration,
ensuring that we always have projects to import.  Since
settings.gradle executes very early in the IDE import project
sequence: before Gradle project evaluation time, and thus before any
Gradle task is executed, we should always see a complete project.  (It
was possible to see incomplete Gradle configurations if |mach
gradle-install| hadn't been run at just the right time.)

--HG--
extra : commitid : 4zK7U5PAypH
extra : rebase_source : 91f8534a89f0311b36bd39f502e2f7609a1d78b0
2015-11-03 15:04:39 -08:00
Nick Alexander ae3c756d2f Bug 1219846 - Pre: Index less in IntelliJ. r=me
--HG--
extra : commitid : BTmpYVi9hnT
extra : rebase_source : 49c6ffde3bfa0c8d30ce186460138376afd73f47
2015-10-29 19:53:51 -07:00
Nick Alexander 87aa09a088 Bug 1123416 - Part 3: Limit IntelliJ objdir indexing. r=sebastian
IntelliJ's exclusion mechanism (for Gradle-based projects) is not very
flexible; we get just idea.module.excludeDirs.  This patch crawls the
file system to skip what we can.

--HG--
extra : commitid : 5ckT9DSiS02
extra : rebase_source : 4f362c4996289ce7ee593e9bb35e9aff70e73426
2015-10-20 15:30:44 -07:00
Nick Alexander c1750592a8 Bug 1123416 - Part 1: Make topsrcdir a valid Gradle project root. r=sebastian
The sub-project definitions are still in the object directory (and
still installed by |mach gradle-install); over time, we'll migrate
them out.

The Gradle wrapper and {settings,build}.gradle in topsrcdir are
identical to those in mobile/android/gradle.  I don't like the
duplication, but I also don't want the burden of keeping the two
configurations identical.  We'll move away from the configuration
using mobile/android/gradle as quickly as we can.

--HG--
rename : mobile/android/gradle/build.gradle => build.gradle
rename : mobile/android/gradle/gradle/wrapper/gradle-wrapper.jar => gradle/wrapper/gradle-wrapper.jar
rename : mobile/android/gradle/gradle/wrapper/gradle-wrapper.properties => gradle/wrapper/gradle-wrapper.properties
rename : mobile/android/gradle/gradlew => gradlew
rename : mobile/android/gradle/settings.gradle => settings.gradle
extra : commitid : IkXCiKfkha1
extra : rebase_source : 4142fe37cd7e036d41fb122fe31cd232fcfdfc80
2015-10-21 15:07:55 -07:00