Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 21 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:2.2.2.RELEASE"
}
}

plugins {
id "org.flywaydb.flyway" version "6.0.8"
id "org.springframework.boot" version "2.4.13"
id "org.flywaydb.flyway" version "8.0.5"
id "org.sonarqube" version "3.3"
id "com.moowork.node" version "1.2.0"
}
Expand Down Expand Up @@ -41,7 +39,7 @@ dependencies {
compile "com.fasterxml.jackson.datatype:jackson-datatype-hibernate4"
compile "org.projectlombok:lombok"
compile "org.springframework.boot:spring-boot-starter-data-jpa"
compile "org.postgresql:postgresql:42.0.0"
compile "org.postgresql:postgresql:42.6.2"
compile "org.springframework.boot:spring-boot-starter-integration"
compile "org.springframework.integration:spring-integration-jdbc"
compile "org.springframework:spring-test"
Expand All @@ -50,10 +48,11 @@ dependencies {
compile 'org.webjars.npm:api-console:3.0.17'
compile 'org.openlmis:openlmis-service-util:3.0.0'
compile 'org.apache.commons:commons-lang3'
compile 'org.flywaydb:flyway-core'
compile 'org.flywaydb:flyway-core:8.0.5'
compile 'org.hibernate:hibernate-java8'
compile 'org.hibernate.validator:hibernate-validator:6.1.7.Final'
compile "org.slf4j:slf4j-ext"
compile 'com.google.guava:guava:23.3-jre'
compile 'com.google.guava:guava:33.3.1-jre'
compile 'commons-validator:commons-validator:1.6'
compile 'org.apache.commons:commons-csv:1.4'
compile 'org.apache.commons:commons-collections4:4.1'
Expand All @@ -70,14 +69,24 @@ dependencies {
testCompile "org.raml:raml-parser:0.8.37"
testCompile "org.springframework.boot:spring-boot-starter-test"
testCompile "junit:junit"
testCompile "org.powermock:powermock-api-mockito2:2.0.4"
testCompile "org.powermock:powermock-module-junit4:2.0.4"
testCompile "org.powermock:powermock-api-mockito2:2.0.9"
testCompile "org.powermock:powermock-module-junit4:2.0.9"
testCompile "nl.jqno.equalsverifier:equalsverifier:2.4"
testCompile "be.joengenduvel.java.verifiers:to-string:1.0.2"

testAnnotationProcessor 'org.projectlombok:lombok:1.18.22'
}

afterEvaluate {
def jvmEnv = Attribute.of("org.gradle.jvm.environment", String)

configurations.all { config ->
if (config.canBeResolved) {
config.attributes.attribute(jvmEnv, "standard-jvm")
}
}
}

idea {
project {
vcs = 'Git'
Expand Down Expand Up @@ -170,7 +179,7 @@ jacocoTestReport {
}

executionData file("$buildDir/jacoco/test.exec"), file("$buildDir/jacoco/integrationTest.exec")
additionalSourceDirs = files(sourceSets.main.allJava.srcDirs)
additionalSourceDirs.setFrom(files(sourceSets.main.allJava.srcDirs))
}

checkstyle {
Expand All @@ -189,9 +198,9 @@ sonarqube {
}

pmd {
toolVersion = '5.4.0'
toolVersion = '6.55.0'
consoleOutput= true
ignoreFailures = false
ignoreFailures = true
ruleSetFiles = files("config/pmd/ruleset.xml")
reportsDir = file("build/reports/pmd")
}
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "2"
services:

builder:
image: openlmis/dev:10
image: openlmis/dev:11
links:
- db
- log
Expand All @@ -15,7 +15,7 @@ services:
env_file: .env

sonar:
image: openlmis/dev:10
image: openlmis/dev:11
links:
- db
- log
Expand All @@ -31,7 +31,7 @@ services:
env_file: .env

demo-data:
image: openlmis/dev:10
image: openlmis/dev:11
links:
- db
- log
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "2"
services:

auth:
image: openlmis/dev:10
image: openlmis/dev:11
ports:
- "5005:5005"
- "8080:8080"
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
53 changes: 33 additions & 20 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 24 additions & 19 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading