Skip to content

Commit

Permalink
updated to new Gradle for Android plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsguy committed Feb 18, 2014
1 parent 6dfb9a9 commit 0b3679a
Show file tree
Hide file tree
Showing 18 changed files with 32 additions and 35 deletions.
4 changes: 2 additions & 2 deletions Gradle/ConstantsSecure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand All @@ -15,6 +15,6 @@ dependencies {

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"
}

4 changes: 2 additions & 2 deletions Gradle/Hello/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}
apply plugin: 'android'
Expand All @@ -14,7 +14,7 @@ dependencies {

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"

sourceSets {
main {
Expand Down
4 changes: 2 additions & 2 deletions Gradle/HelloAIDL/Client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand All @@ -15,7 +15,7 @@ dependencies {

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"

sourceSets {
main {
Expand Down
4 changes: 2 additions & 2 deletions Gradle/HelloAIDL/Service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand All @@ -15,7 +15,7 @@ dependencies {

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"

sourceSets {
main {
Expand Down
2 changes: 1 addition & 1 deletion Gradle/HelloAIDL/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand Down
9 changes: 3 additions & 6 deletions Gradle/HelloBuildConfig/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand All @@ -15,7 +15,7 @@ dependencies {

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"

defaultConfig {
versionCode 2
Expand All @@ -42,6 +42,7 @@ android {

release {
signingConfig signingConfigs.release
buildConfigField "String", "SERVER_URL", '"http://prod.this-is-so-fake.com"'
}

mezzanine.initWith(buildTypes.release)
Expand All @@ -52,10 +53,6 @@ android {
signingConfig signingConfigs.release
buildConfigField "String", "SERVER_URL", '"http://stage.this-is-so-fake.com"'
}

release {
buildConfigField "String", "SERVER_URL", '"http://prod.this-is-so-fake.com"'
}
}
}

4 changes: 2 additions & 2 deletions Gradle/HelloBuildType/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand All @@ -15,7 +15,7 @@ dependencies {

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"

defaultConfig {
versionCode 2
Expand Down
4 changes: 2 additions & 2 deletions Gradle/HelloConfig/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand All @@ -15,7 +15,7 @@ dependencies {

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"

defaultConfig {
versionCode 2
Expand Down
4 changes: 2 additions & 2 deletions Gradle/HelloInstrumentTest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand All @@ -15,7 +15,7 @@ dependencies {

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"

defaultConfig {
testPackageName "com.commonsware.android.gradle.hello.test"
Expand Down
4 changes: 2 additions & 2 deletions Gradle/HelloMultiProject/HelloLibraryConsumer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand All @@ -16,6 +16,6 @@ dependencies {

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"
}

4 changes: 2 additions & 2 deletions Gradle/HelloMultiProject/libraries/HelloLibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

apply plugin: 'android-library'

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"
}

2 changes: 1 addition & 1 deletion Gradle/HelloNestedResources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand Down
4 changes: 2 additions & 2 deletions Gradle/HelloNew/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand All @@ -15,6 +15,6 @@ dependencies {

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"
}

4 changes: 2 additions & 2 deletions Gradle/HelloProductFlavors/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand All @@ -15,7 +15,7 @@ dependencies {

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"

defaultConfig {
versionCode 2
Expand Down
2 changes: 1 addition & 1 deletion Gradle/HelloProperties/Client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand Down
2 changes: 1 addition & 1 deletion Gradle/HelloProperties/Service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand Down
2 changes: 1 addition & 1 deletion Gradle/HelloProperties/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand Down
4 changes: 2 additions & 2 deletions Gradle/HelloVersioning/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand All @@ -15,7 +15,7 @@ dependencies {

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
buildToolsVersion "19.0.1"

def versionPropsFile = file('version.properties')

Expand Down

0 comments on commit 0b3679a

Please sign in to comment.