Commit faca3671 authored by MozLando's avatar MozLando
Browse files

Merge #7118



7118: Closes #7117: Enable local Gradle Build Cache r=pocmo a=grigoryk

WIP, let's see what CI does with this.



Co-authored-by: default avatarGrisha Kruglov <gkruglov@mozilla.com>
parents 276caf6b f98e09c2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ out/
.gradle/
build/
!taskcluster/ci/build/
.build-cache/

# Local configuration file (sdk path, etc)
local.properties
+10 −0
Original line number Diff line number Diff line
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

buildCache {
    local {
        directory = new File(rootDir, '../.build-cache')
        removeUnusedEntriesAfterDays = 30
    }
}
 No newline at end of file
+3 −0
Original line number Diff line number Diff line
@@ -25,6 +25,9 @@ permalink: /changelog/
  * Added `getTopFrecentSites` to `PlacesHistoryStorage`, which returns a list of the top frecent site infos
    sorted by most to least frecent.

* **local development**
  * Enable local Gradle Build Cache to speed-up local builds. Build cache is located in `.build-cache/`, clear it if you run into strange problems and please file an issue.

# 44.0.0

* [Commits](https://github.com/mozilla-mobile/android-components/compare/v43.0.0...v44.0.0)
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@ org.gradle.jvmargs=-Xmx4096m
# XXX Deactivated because of broken releases?
org.gradle.parallel=false

# Build cache - further configured in settings.gradle
org.gradle.caching=true

libRepositoryName=Mozilla-Mobile
libUrl=https://github.com/mozilla-mobile/android-components
libVcsUrl=https://github.com/mozilla-mobile/android-components.git
+7 −0
Original line number Diff line number Diff line
@@ -14,6 +14,13 @@ buildscript {
    }
}

buildCache {
    local {
        directory = new File(rootDir, '.build-cache')
        removeUnusedEntriesAfterDays = 30
    }
}

def setupProject(name, path, description) {
    settings.include(":$name")