Skip to content

Commit

Permalink
file gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGreg committed May 28, 2015
1 parent b79033f commit 66258b0
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
repositories {
mavenCentral()
}
buildscript {

repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
}
}

apply plugin: 'com.android.application'

dependencies {
compile 'com.android.support:appcompat-v7:+'
//compile 'com.google.android.gms:play-services:4.0.30'
compile 'com.beardedhen:androidbootstrap:+'
compile('de.keyboardsurfer.android.widget:crouton:1.8.5@aar') {
// exclusion is not necessary, but generally a good idea.
exclude group: 'com.google.android', module: 'support-v4'
}
compile 'com.google.android.gms:play-services-analytics:7.3.0+'
compile ('com.github.chrisbanes.bitmapcache:library:+') {
exclude group: 'com.google.android', module: 'support-v4'
}
}

android {
compileSdkVersion 21
buildToolsVersion "21.1.2"

sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}

// Move the tests to tests/java, tests/res, etc...
instrumentTest.setRoot('tests')

// Move the build types to build-types/<type>
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
// This moves them out of them default location under src/<type>/... which would
// conflict with src/ being used by the main source set.
// Adding new build types or product flavors should be accompanied
// by a similar customization.
debug.setRoot('build-types/debug')
release.setRoot('build-types/release')
}
}

0 comments on commit 66258b0

Please sign in to comment.