Created
November 19, 2014 09:19
-
-
Save masahitojp/c3023c36a59f0b4fa02d to your computer and use it in GitHub Desktop.
Java8+Lombok+IntellijIdea+Gradleの環境用の最小のbuild.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 plugin: 'idea' | |
group = 'me.masahito' | |
version = "0.1.0-SNAPSHOT" | |
sourceCompatibility = targetCompatibility = '1.8' | |
repositories.mavenCentral() | |
configurations { | |
provided | |
} | |
sourceSets { | |
main { | |
compileClasspath += configurations.provided | |
} | |
test { | |
compileClasspath += configurations.provided | |
runtimeClasspath += configurations.provided | |
} | |
} | |
idea { | |
module { | |
scopes.PROVIDED.plus += [configurations.provided] | |
} | |
} | |
dependencies { | |
provided "org.projectlombok:lombok:1.14.8" | |
testCompile 'junit:junit:4.11' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment