Skip to content

Instantly share code, notes, and snippets.

@galex
Created June 11, 2014 10:53
Show Gist options
  • Save galex/8281f5dee23e2c90caf2 to your computer and use it in GitHub Desktop.
Save galex/8281f5dee23e2c90caf2 to your computer and use it in GitHub Desktop.
build.gradle for storm-gen since it's in Maven Central
// Top-level build.gradle
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.11.+'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.3'
}
}
allprojects {
repositories {
mavenCentral()
}
}
// app module build.gradle
apply plugin: 'android'
apply plugin: 'android-apt'
android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
defaultConfig {
applicationId "com.turbomanage.storm.sample"
minSdkVersion 10
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
apt 'com.turbomanage.storm:storm-impl:0.98'
compile 'com.android.support:appcompat-v7:19.1.0'
compile 'com.android.support:support-v4:19.1.0'
compile 'com.turbomanage.storm:storm-api:0.98'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment