Skip to content

Commit

Permalink
Fix issue #14
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Silver committed Jan 19, 2017
1 parent 40539dd commit 2faa327
Show file tree
Hide file tree
Showing 66 changed files with 264 additions and 0 deletions.
4 changes: 4 additions & 0 deletions S01.01-Exercise-CreateLayout/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S01.01-Solution-CreateLayout/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S01.02-Exercise-AddWeatherList/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S01.02-Solution-AddWeatherList/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S02.01-Exercise-Networking/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S02.01-Solution-Networking/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S02.02-Exercise-Menus/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S02.02-Solution-Menus/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S02.03-Exercise-Polish/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S02.03-Solution-Polish/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S03.01-Exercise-RecyclerView/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S03.01-Solution-RecyclerView/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S03.02-Exercise-RecyclerViewClickHandling/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S03.02-Solution-RecyclerViewClickHandling/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S04.01-Exercise-LaunchNewActivity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S04.01-Solution-LaunchNewActivity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S04.02-Exercise-DisplayDayForecast/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S04.02-Solution-DisplayDayForecast/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S04.03-Exercise-AddMapAndSharing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S04.03-Solution-AddMapAndSharing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S05.01-Exercise-AsyncTaskLoader/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S05.01-Solution-AsyncTaskLoader/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S06.01-Exercise-LaunchSettingsActivity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S06.01-Solution-LaunchSettingsActivity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S06.02-Exercise-SettingsFragment/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S06.02-Solution-SettingsFragment/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S06.03-Exercise-PolishingPreferences/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S06.03-Solution-PolishingPreferences/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S07.01-Exercise-DatabaseCreation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S07.01-Solution-DatabaseCreation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S07.02-Exercise-PreventInvalidInserts/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S07.02-Solution-PreventInvalidInserts/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S07.03-Exercise-ConflictResolutionPolicy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S07.03-Solution-ConflictResolutionPolicy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S09.01-Exercise-ContentProviderFoundation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
4 changes: 4 additions & 0 deletions S09.01-Solution-ContentProviderFoundation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {
}

allprojects {
String osName = System.getProperty("os.name").toLowerCase();
if (osName.contains("windows")) {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
repositories {
jcenter()
}
Expand Down
Loading

0 comments on commit 2faa327

Please sign in to comment.