FINERACT-1198: Fixing incremental build for Gradle
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
6e052e536b
commit
46ff275d07
+6
-10
@@ -46,9 +46,6 @@ buildscript {
|
||||
dependencies {
|
||||
classpath 'com.bmuschko:gradle-cargo-plugin:2.8.0'
|
||||
classpath 'org.apache.openjpa:openjpa:3.2.0' // when upgrading, also change OpenJPA version repeated in fineract-provider/build.gradle!
|
||||
classpath 'com.radcortez.gradle:openjpa-gradle-plugin:3.1.0'
|
||||
classpath 'gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.7.5'
|
||||
classpath 'gradle.plugin.com.github.andygoossens:gradle-modernizer-plugin:1.3.0'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +53,7 @@ plugins {
|
||||
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||||
id "org.barfuin.gradle.taskinfo" version "1.3.1"
|
||||
id 'com.adarshr.test-logger' version '3.1.0'
|
||||
id 'com.diffplug.spotless' version '5.17.1' apply false
|
||||
id 'com.diffplug.spotless' version '6.1.0' apply false
|
||||
id 'org.nosphere.apache.rat' version '0.7.0' apply false
|
||||
id 'com.github.hierynomus.license' version '0.16.1' apply false
|
||||
id 'com.github.jk1.dependency-license-report' version '2.0' apply false
|
||||
@@ -74,6 +71,8 @@ plugins {
|
||||
id 'org.asciidoctor.kindlegen.base' version '3.2.0' apply false
|
||||
id "com.google.cloud.tools.jib" version "3.1.4" apply false
|
||||
id "org.sonarqube" version "3.3"
|
||||
id "com.github.andygoossens.modernizer" version "1.6.1" apply false
|
||||
id 'com.github.spotbugs' version '5.0.3' apply false
|
||||
}
|
||||
|
||||
description = '''\
|
||||
@@ -82,7 +81,7 @@ gradle clean bootRun'''
|
||||
|
||||
project.ext.jerseyVersion = '1.19.4'
|
||||
ext['groovy.version'] = '3.0.6'
|
||||
ext['swaggerFile'] = "$rootDir/fineract-provider/build/classes/java/main/static/swagger-ui/fineract.yaml".toString()
|
||||
ext['swaggerFile'] = "$rootDir/fineract-provider/build/generated/swagger-ui/fineract.yaml".toString()
|
||||
|
||||
allprojects {
|
||||
group = 'org.apache.fineract'
|
||||
@@ -139,7 +138,7 @@ allprojects {
|
||||
|
||||
dependency 'io.github.classgraph:classgraph:4.8.129'
|
||||
dependency 'org.awaitility:awaitility:4.1.1'
|
||||
dependency 'com.github.spotbugs:spotbugs-annotations:4.4.2'
|
||||
dependency 'com.github.spotbugs:spotbugs-annotations:4.5.2'
|
||||
dependency 'javax.cache:cache-api:1.1.1'
|
||||
dependency 'org.mock-server:mockserver-junit-jupiter:5.11.2'
|
||||
dependency 'org.webjars.npm:swagger-ui-dist:4.0.1'
|
||||
@@ -371,7 +370,7 @@ configure(project.fineractJavaProjects) {
|
||||
apply plugin: 'jacoco'
|
||||
apply plugin: "net.ltgt.errorprone"
|
||||
apply plugin: "com.github.spotbugs"
|
||||
apply plugin: 'com.github.andygoossens.gradle-modernizer-plugin'
|
||||
apply plugin: 'com.github.andygoossens.modernizer'
|
||||
|
||||
/* define the valid syntax level for source files */
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
@@ -426,7 +425,6 @@ configure(project.fineractJavaProjects) {
|
||||
|
||||
dependencies {
|
||||
spotbugsPlugins 'jp.skypencil.findbugs.slf4j:bug-pattern:1.5.0@jar'
|
||||
spotbugs 'com.github.spotbugs:spotbugs:4.4.2'
|
||||
}
|
||||
|
||||
// Configuration for the spotless plugin
|
||||
@@ -472,8 +470,6 @@ configure(project.fineractJavaProjects) {
|
||||
lineEndings 'UNIX'
|
||||
}
|
||||
|
||||
compileJava.dependsOn spotlessCheck
|
||||
|
||||
// compileJava may create more source files into generated, hence we need to run these tasks after it
|
||||
licenseMain.dependsOn compileJava
|
||||
processResources.dependsOn compileJava
|
||||
|
||||
Reference in New Issue
Block a user