-
-
Save ChaosJohn/03fd3bcf4826493489be 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