Skip to content

Instantly share code, notes, and snippets.

@moltak
Created September 2, 2015 19:26
Show Gist options
  • Save moltak/7976aa2df943cf52c792 to your computer and use it in GitHub Desktop.
Save moltak/7976aa2df943cf52c792 to your computer and use it in GitHub Desktop.
forApt_build.gradle
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.ltgt.gradle:gradle-apt-plugin:0.3"
}
}
repositories {
mavenCentral()
jcenter()
}
apply plugin: 'net.ltgt.apt'
apply plugin: 'java'
apply plugin: 'idea'
sourceCompatibility = 1.8
dependencies {
compile "com.google.dagger:dagger:2.0"
compileOnly "com.google.dagger:dagger-compiler:2.0"
compile "com.squareup:otto:1.3.8"
compile 'io.reactivex:rxjava:1.0.13'
compile "org.glassfish:javax.annotation:10.0-b28"
testCompile "junit:junit:4.12"
testCompile "org.mockito:mockito-core:1.9.5"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment