Created
March 18, 2016 00:12
-
-
Save sh1nj1/5f79282b8e7bbdca6a26 to your computer and use it in GitHub Desktop.
Exclude some jar files from package with spring-boot-gradle-plugin.
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
dependencies { | |
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.3.RELEASE") | |
} | |
apply plugin: 'spring-boot' | |
springBoot { | |
customConfiguration = 'runtime' | |
} | |
configurations { | |
runtime.exclude group: "org.apache.spark" | |
runtime.exclude group: "org.apache.hadoop" | |
runtime.exclude group: "org.projectlombok" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment