forked from getodk/collect
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request getodk#215 from srsudar/remove-uw-gradle
Remove uw gradle
- Loading branch information
Showing
4 changed files
with
23 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Wed Aug 31 19:13:22 PDT 2016 | ||
#Wed Nov 02 08:59:15 PDT 2016 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1 @@ | ||
gradle.ext.gradleConfigVersion = 40 | ||
|
||
if ( !gradle.ext.has('workspacePath') ) { | ||
def env = System.getProperties(); | ||
logger.warn("collect/settings.gradle System.getProperties().stringPropertyNames(): " + env.stringPropertyNames()); | ||
def path = System.getProperty('com.android.studio.gradle.project.path'); | ||
if ( path != null ) { | ||
logger.warn("collect/settings.gradle Found value for System.getProperty('com.android.studio.gradle.project.path')"); | ||
gradle.ext.workspacePath = (new File(path)).getParentFile().getAbsolutePath(); | ||
} else { | ||
logger.warn("collect/settings.gradle No value found for System.getProperty('com.android.studio.gradle.project.path')"); | ||
gradle.ext.workspacePath = new File("..").getAbsolutePath(); | ||
} | ||
} | ||
|
||
logger.warn('collect/settings.gradle -- gradle.ext.workspacePath: ' + gradle.ext.workspacePath) | ||
|
||
gradle.ext.local = gradle.ext.workspacePath + '/gradle-config/remote.gradle' | ||
gradle.ext.remote = 'https://raw.githubusercontent.com/opendatakit/gradle-config/' + gradle.ext.gradleConfigVersion + '/remote.gradle' | ||
gradle.ext.useLocal = true // set to false to always build against remote artifacts | ||
|
||
if ((new File(gradle.ext.local)).exists()) { | ||
gradle.ext.useLocalPaths = true | ||
apply from: gradle.ext.local | ||
} else { | ||
gradle.ext.useLocalPaths = false | ||
apply from: gradle.ext.remote | ||
} | ||
|
||
settingsScripts.each { | ||
apply from: it | ||
} | ||
|
||
include(collectProjectChild) | ||
include ':collect_app' |