Created
April 28, 2019 21:52
-
-
Save SergejIsbrecht/89348ace9b17badd7686e98939022b31 to your computer and use it in GitHub Desktop.
Gradle 5.2+ required -> incremental APT and idea integration without apt plugin
This file contains hidden or 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
plugins { | |
idea | |
`java-library` | |
} | |
group = "de.sergejisbrecht" | |
version = "1.0-SNAPSHOT" | |
repositories { | |
mavenCentral() | |
} | |
configure<JavaPluginConvention> { | |
sourceCompatibility = JavaVersion.VERSION_1_8 | |
} | |
dependencies { | |
annotationProcessor("org.immutables:value-processor:2.7.4") | |
api("org.immutables:value-annotations:2.7.4") | |
implementation("io.reactivex.rxjava2:rxjava:2.2.5") | |
implementation("com.google.guava:guava:27.1-jre") | |
implementation("io.vavr:vavr:1.0.0-alpha-2") | |
testImplementation("org.assertj:assertj-core:3.11.1") | |
testImplementation("org.junit.jupiter:junit-jupiter-api:5.3.1") | |
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.3.1") | |
} | |
tasks.withType<Test> { | |
useJUnitPlatform() | |
} | |
tasks { | |
compileJava { | |
options.compilerArgs.add("-Aimmutables.gradle.incremental") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment