File tree Expand file tree Collapse file tree
de.vogella.android.sqlite.first Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments