You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.7 KiB
48 lines
1.7 KiB
plugins { |
|
id "java-library" |
|
id "org.springframework.boot.deployed" |
|
id "org.springframework.boot.docker-test" |
|
} |
|
|
|
description = "Spring Boot Buildpack Platform" |
|
|
|
configurations.all { |
|
resolutionStrategy { |
|
eachDependency { dependency -> |
|
// Downgrade Jackson as Gradle cannot cope with 2.15.0's multi-version |
|
// jar files with bytecode in META-INF/versions/19 |
|
if (dependency.requested.group.startsWith("com.fasterxml.jackson")) { |
|
dependency.useVersion("2.14.2") |
|
} |
|
// Downgrade Spring Framework as Gradle cannot cope with 6.1.0-M1's |
|
// multi-version jar files with bytecode in META-INF/versions/21 |
|
if (dependency.requested.group.equals("org.springframework")) { |
|
dependency.useVersion("$springFramework60xVersion") |
|
} |
|
} |
|
} |
|
} |
|
|
|
dependencies { |
|
api("com.fasterxml.jackson.core:jackson-databind") |
|
api("com.fasterxml.jackson.module:jackson-module-parameter-names") |
|
api("net.java.dev.jna:jna-platform") |
|
api("org.apache.commons:commons-compress") |
|
api("org.apache.httpcomponents.client5:httpclient5") |
|
api("org.springframework:spring-core") |
|
api("org.tomlj:tomlj:1.0.0") |
|
|
|
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support-docker")) |
|
dockerTestImplementation("org.junit.jupiter:junit-jupiter") |
|
|
|
dockerTestRuntimeOnly("org.testcontainers:testcontainers") |
|
|
|
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support")) |
|
testImplementation("com.jayway.jsonpath:json-path") |
|
testImplementation("org.assertj:assertj-core") |
|
testImplementation("org.hamcrest:hamcrest") |
|
testImplementation("org.junit.jupiter:junit-jupiter") |
|
testImplementation("org.mockito:mockito-core") |
|
testImplementation("org.mockito:mockito-junit-jupiter") |
|
testImplementation("org.skyscreamer:jsonassert") |
|
}
|
|
|