Skip to content

Commit 04a85ce

Browse files
committed
More Gradle builds files for your Android Project
1 parent 0922052 commit 04a85ce

18 files changed

Lines changed: 315 additions & 2 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#Mon Apr 13 22:34:45 CEST 2015
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
}
5+
dependencies {
6+
classpath 'com.android.tools.build:gradle:1.0.0'
7+
}
8+
}
9+
apply plugin: 'com.android.application'
10+
11+
12+
android {
13+
compileSdkVersion 19
14+
buildToolsVersion "21.1.2"
15+
16+
defaultConfig {
17+
targetSdkVersion 17
18+
}
19+
20+
sourceSets {
21+
main {
22+
manifest.srcFile 'AndroidManifest.xml'
23+
java.srcDirs = ['src']
24+
resources.srcDirs = ['src']
25+
aidl.srcDirs = ['src']
26+
renderscript.srcDirs = ['src']
27+
res.srcDirs = ['res']
28+
assets.srcDirs = ['assets']
29+
}
30+
31+
// Move the build types to build-types/<type>
32+
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
33+
// This moves them out of them default location under src/<type>/... which would
34+
// conflict with src/ being used by the main source set.
35+
// Adding new build types or product flavors should be accompanied
36+
// by a similar customization.
37+
debug.setRoot('build-types/debug')
38+
release.setRoot('build-types/release')
39+
}
40+
}
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Wed Apr 10 15:27:10 PDT 2013
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip

com.vogella.android.lifecycle.activity/gradlew

Lines changed: 164 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)