-
-
Save WonderCsabo/c9f6b33efebd2aec0973 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repositories { | |
mavenCentral() | |
} | |
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.12.2' | |
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.2+' | |
classpath 'com.uphyca.gradle:gradle-android-aspectj-plugin:0.9.+' | |
} | |
} | |
def androidAnnotationsVersion = '3.1'; | |
def daggerVersion = '1.0.0'; | |
apply plugin: 'com.android.application' | |
apply plugin: 'android-aspectj' | |
apply plugin: 'android-apt' | |
android { | |
compileSdkVersion 19 | |
buildToolsVersion "20.0.0" | |
defaultConfig { | |
applicationId "com.flask.aspectjtest" | |
minSdkVersion 16 | |
targetSdkVersion 20 | |
versionCode 1 | |
versionName "1.0" | |
} | |
buildTypes { | |
release { | |
runProguard false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
lintOptions { | |
abortOnError false | |
} | |
} | |
configurations { | |
apt | |
ajc | |
aspects | |
ajInpath | |
} | |
apt { | |
arguments { | |
androidManifestFile variant.processResources.manifestFile | |
resourcePackageName "com.flask.aspectjtest" | |
} | |
} | |
ext.aspectjVersion = '1.8.2' | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
compile 'com.android.support:appcompat-v7:20.0.0' | |
apt "com.squareup.dagger:dagger-compiler:${daggerVersion}" | |
compile "com.squareup.dagger:dagger:${daggerVersion}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment