Skip to content

Instantly share code, notes, and snippets.

@epy0n0ff
Created November 16, 2017 09:27
Show Gist options
  • Select an option

  • Save epy0n0ff/63bbbc5da2e5d074f0ded7e467f6c578 to your computer and use it in GitHub Desktop.

Select an option

Save epy0n0ff/63bbbc5da2e5d074f0ded7e467f6c578 to your computer and use it in GitHub Desktop.
it works with gradle 4.3.1
apply plugin: 'java'
apply plugin: 'net.ltgt.apt-idea'
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.ltgt.gradle:gradle-apt-plugin:0.13"
}
}
repositories {
jcenter()
}
dependencies {
compileOnly "org.immutables:value:2.5.6:annotations"
apt "org.immutables:value:2.5.6"
}
idea {
project {
configureAnnotationProcessing = true
}
module {
apt {
addGeneratedSourcesDirs = true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment