Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
bump gradle plugin versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yelinaung committed Oct 28, 2014
1 parent 4564694 commit 8ba61ca
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 19 deletions.
27 changes: 15 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:0.8.+'
}
classpath 'com.android.tools.build:gradle:0.13.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

def isReleaseBuild() {
return version.contains("SNAPSHOT") == false
}

//allprojects {
// version = VERSION_NAME
// group = GROUP
//
// repositories {
// mavenCentral()
// }
//}
allprojects {
// version = VERSION_NAME
// group = GROUP

repositories {
jcenter()
}
}

apply plugin: 'android-reporting'
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.10-all.zip
distributionUrl=http\://services.gradle.org/distributions/gradle-2.1-all.zip
2 changes: 1 addition & 1 deletion library/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="17" />
android:targetSdkVersion="21" />

<application android:allowBackup="false" >
</application>
Expand Down
8 changes: 4 additions & 4 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'android-library'
apply plugin: 'com.android.library'

android {
compileSdkVersion 19
buildToolsVersion '19.0.1'
compileSdkVersion 21
buildToolsVersion '21.0.2'

defaultConfig {
minSdkVersion 8
targetSdkVersion 19
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
Expand Down
25 changes: 25 additions & 0 deletions sample/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 21
buildToolsVersion '21.0.2'

defaultConfig {
minSdkVersion 8
targetSdkVersion 21
versionCode 1
versionName "1.0"
}

sourceSets {
main {
assets.srcDirs = ['assets']
res.srcDirs = ['res']
aidl.srcDirs = ['src']
resources.srcDirs = ['src']
renderscript.srcDirs = ['src']
java.srcDirs = ['src']
manifest.srcFile 'AndroidManifest.xml'
}
}
}
3 changes: 2 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include ':library'
include ':library'
include ':sample'

0 comments on commit 8ba61ca

Please sign in to comment.