Commit 6afa180b authored by madhead's avatar madhead

Merge branch 'issues/40' into 'master'

Fix publishing

Closes #40

See merge request !28
parents 3d707381 21694aa2
Pipeline #152597833 passed with stages
in 11 minutes and 3 seconds
import com.jfrog.bintray.gradle.BintrayExtension
import com.jfrog.bintray.gradle.BintrayPlugin
import io.spring.gradle.dependencymanagement.DependencyManagementPlugin
import io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension
import java.util.Properties
plugins {
id("io.spring.dependency-management").version("1.0.8.RELEASE").apply(false)
id("com.jfrog.bintray").version("1.8.4").apply(false)
id("org.asciidoctor.jvm.convert").version("3.0.0-alpha.3")
id("com.jfrog.bintray").version("1.8.5").apply(false)
id("org.asciidoctor.jvm.convert").version("3.2.0")
}
repositories {
......@@ -24,7 +21,6 @@ configure(
- project(":ses")
) {
apply<JavaLibraryPlugin>()
apply<DependencyManagementPlugin>()
apply<JacocoPlugin>()
apply<MavenPublishPlugin>()
apply<BintrayPlugin>()
......@@ -33,37 +29,19 @@ configure(
jcenter()
}
configure<DependencyManagementExtension> {
imports {
mavenBom("org.junit:junit-bom:5.5.1")
// By default, the code is compiled against the lowest supported AWS SDK versions.
// If BY_DEV_MADHEAD_AWS_JUNIT5_USE_LATEST_AWS_SDK environment variable is set to true we want to test the
// code against the latest available AWS SDK versions.
val v1: String
val v2: String
if (System.getenv("BY_DEV_MADHEAD_AWS_JUNIT5_USE_LATEST_AWS_SDK") == "true") {
v1 = "1.+"
v2 = "2.+"
} else {
v1 = "1.11.79"
v2 = "2.5.3"
}
mavenBom("com.amazonaws:aws-java-sdk-bom:$v1")
mavenBom("software.amazon.awssdk:bom:$v2")
}
}
dependencies {
val api by configurations
val testImplementation by configurations
val testRuntimeOnly by configurations
api(platform("org.junit:junit-bom:5.5.1"))
api("org.junit.jupiter:junit-jupiter-api")
testImplementation(platform("org.junit:junit-bom:5.5.1"))
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testRuntimeOnly(platform("org.junit:junit-bom:5.5.1"))
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
......
dependencies {
// By default, the code is compiled against the lowest supported AWS SDK versions.
// If BY_DEV_MADHEAD_AWS_JUNIT5_USE_LATEST_AWS_SDK environment variable is set to true we want to test the
// code against the latest available AWS SDK versions.
val v1: String = if (System.getenv("BY_DEV_MADHEAD_AWS_JUNIT5_USE_LATEST_AWS_SDK") == "true") {
"1.+"
} else {
"1.11.79"
}
api(platform("com.amazonaws:aws-java-sdk-bom:$v1"))
api(project(":common"))
api("com.amazonaws:aws-java-sdk-core")
......
dependencies {
// By default, the code is compiled against the lowest supported AWS SDK versions.
// If BY_DEV_MADHEAD_AWS_JUNIT5_USE_LATEST_AWS_SDK environment variable is set to true we want to test the
// code against the latest available AWS SDK versions.
val v2: String = if (System.getenv("BY_DEV_MADHEAD_AWS_JUNIT5_USE_LATEST_AWS_SDK") == "true") {
"2.+"
} else {
"2.5.3"
}
api(platform("software.amazon.awssdk:bom:$v2"))
api(project(":common"))
api("software.amazon.awssdk:aws-core")
......
group=by.dev.madhead.aws-junit5
version=5.1.0
version=5.1.1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment