RoboBinding(com.android.support:appcompat-v7:22.1.1 not work now, or just use Activity instead AppCompatActivity)
buildscript {
repositories {
mavenCentral()
maven() {
name 'RoboBinding AspectJPlugin Maven Repository'
url "https://github.com/RoboBinding/RoboBinding-aspectj-plugin/raw/master/mavenRepo"
//url "file://D:/git/RoboBinding-aspectj-plugin/mavenRepo"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
classpath 'org.robobinding:aspectj-plugin:0.8.4'
}
}
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'org.robobinding.android-aspectj'
android {
compileSdkVersion 22
buildToolsVersion '22.0.1'
defaultConfig {
applicationId "com.linkulife.myapplication"
minSdkVersion 15
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
lintOptions {
disable 'UnusedAttribute', 'ValidFragment', 'GradleDependency', 'OnClick', 'MissingPrefix', 'MenuTitle'
abortOnError false
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
mavenCentral()
maven() {
name 'SonaType snapshot repository'
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
ext {
robobindingVersion = 'latest.integration'
//robobindingVersion = '0.8.6-SNAPSHOT'
}
dependencies {
// compile fileTree(dir: 'libs', include: ['*.jar'])
compile("org.robobinding:robobinding:${robobindingVersion}:with-aop-and-dependencies") {
exclude group: 'com.google.guava'
}
aspectPath "org.robobinding:robobinding:${robobindingVersion}:with-aop-and-dependencies"
apt "org.robobinding:codegen:$robobindingVersion"
compile 'com.android.support:appcompat-v7:22.0.0'
}