File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' maven-publish'
22apply plugin : ' signing'
33apply plugin : " de.marcphilipp.nexus-publish"
4+ apply plugin : ' io.franzbecker.gradle-lombok'
5+
6+ task delombok (type : io.franzbecker.gradle.lombok.task.DelombokTask ) {
7+ def outputDir = file(" $buildDir /delombok" )
8+ outputs. dir(outputDir)
9+ for (srcDir in project. sourceSets. main. java. srcDirs) {
10+ inputs. dir(srcDir)
11+ args(srcDir, " -d" , outputDir)
12+ }
13+ }
414
515task sourceJar (type : Jar ) {
616 classifier " sources"
7- from sourceSets . main . allJava
17+ from delombok
818}
919
1020task javadocJar (type : Jar , dependsOn : javadoc) {
@@ -87,10 +97,12 @@ signing {
8797}
8898buildscript {
8999 repositories {
100+ gradlePluginPortal()
90101 mavenCentral()
91102 }
92103 dependencies {
93104 classpath(" org.springframework.boot:spring-boot-gradle-plugin:${ springBoot_1_X_Version} " )
105+ classpath " io.franzbecker:gradle-lombok:4.0.0"
94106 }
95107}
96108
You can’t perform that action at this time.
0 commit comments