Last active
December 23, 2015 09:07
-
-
Save dant3/91e205e12d51d490c6c8 to your computer and use it in GitHub Desktop.
lombok + gradle
This file contains 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
apply plugin: 'java' | |
apply from: 'provided.gradle' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
provided group: 'org.projectlombok', name: 'lombok', version:'1.14.8' | |
} |
This file contains 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
// --- maven-like provided scope surrogate --- // | |
configurations { | |
provided | |
} | |
sourceSets { | |
main.compileClasspath += configurations.provided | |
test.compileClasspath += configurations.provided | |
test.runtimeClasspath += configurations.provided | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment