Skip to content

Instantly share code, notes, and snippets.

View charroch's full-sized avatar
🏠
Working from home

Carl-Gustaf Harroch charroch

🏠
Working from home
View GitHub Profile
@pboos
pboos / annotation-processor-build.gradle
Last active August 7, 2020 06:38
Gradle stuff for Android
configurations {
apt
}
dependencies {
compile 'com.squareup.dagger:dagger:1.1.0'
apt 'com.squareup.dagger:dagger-compiler:1.1.0'
}
android.applicationVariants.all { variant ->
import sbt._
import Keys._
import AndroidKeys._
Android.skipProguard := true
// General object adds all modular android settings appropriately
object General {
val settings = Defaults.defaultSettings ++ Seq (
version := "0.1.0",