fdroiddata/metadata/org.connectbot/build.patch

48 lines
1.2 KiB
Diff
Raw Normal View History

2019-12-09 08:34:35 +00:00
--- a/build.gradle
+++ b/build.gradle
@@ -1,44 +1,24 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
- project.ext.MAVEN_REPO_CACHE = System.getenv("MAVEN_REPO_CACHE")?.trim()
project.ext.TRANSLATIONS_ONLY = System.getenv("TRANSLATIONS_ONLY")?.trim()
- if (MAVEN_REPO_CACHE) {
- repositories { maven { url MAVEN_REPO_CACHE } }
- } else {
repositories {
google()
jcenter()
google()
}
}
-}
plugins { id 'com.diffplug.gradle.spotless' version '3.16.0' }
apply plugin: 'com.diffplug.gradle.spotless'
-if (MAVEN_REPO_CACHE) {
- allprojects {
- buildscript {
- repositories { maven { url MAVEN_REPO_CACHE } }
- }
- repositories { maven { url MAVEN_REPO_CACHE } }
- }
-} else {
allprojects {
buildscript {
repositories {
google()
jcenter()
- google()
}
}
- repositories {
- google()
- jcenter()
- google()
- }
- }
}
project.ext.preDexLibs = !project.hasProperty('disablePreDex')