Skip to content

Commit

Permalink
Merge pull request #18 from KPMP/develop
Browse files Browse the repository at this point in the history
Release v2.0
  • Loading branch information
rlreamy authored Mar 31, 2022
2 parents be3c19f + b083054 commit 592deb2
Show file tree
Hide file tree
Showing 6 changed files with 214 additions and 141 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
FROM openjdk:8-jdk-alpine
FROM alpine

RUN apk update && \
apk upgrade
RUN apk add openjdk8

VOLUME /tmp
ARG DEPENDENCY=target/dependency

Expand Down
21 changes: 11 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.7.RELEASE")
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.6.4")
}

}
Expand All @@ -24,7 +24,7 @@ apply plugin: 'com.palantir.docker'

jar {
baseName='state-manager-service'
version= '1.2'
version= '2.0'
}

repositories {
Expand All @@ -35,17 +35,18 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.apache.commons:commons-compress:1.17'
compile 'org.springframework.boot:spring-boot-starter-test'
compile 'org.springframework.data:spring-data-mongodb'
compile 'org.springframework.boot:spring-boot-starter-data-mongodb'
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile 'org.mockito:mockito-core'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.apache.commons:commons-compress:1.21'
implementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.springframework.data:spring-data-mongodb'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.mockito:mockito-core'
testImplementation 'junit:junit:4.12'
}

springBoot {
mainClassName = "org.kpmp.Application"
mainClass = "org.kpmp.Application"
}

task unpack(type: Copy) {
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.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 592deb2

Please sign in to comment.