Skip to content

Instantly share code, notes, and snippets.

@jgnt32
Created May 15, 2015 05:28
Show Gist options
  • Save jgnt32/5395b8730bcdc61fce5f to your computer and use it in GitHub Desktop.
Save jgnt32/5395b8730bcdc61fce5f to your computer and use it in GitHub Desktop.
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
}
}
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.timewastingguru.customannotations"
minSdkVersion 15
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
apt {
arguments {
resourcePackageName android.defaultConfig.applicationId
androidManifestFile variant.outputs[0].processResources.manifestFile
}
}
dependencies {
compile 'com.android.support:appcompat-v7:22.1.1'
apt files("libs/RealmKit-1.0.jar")
compile files("libs/RealmKit-1.0.jar")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment