From 29b348022bfc5ae20a258248bac0f1c4459876fa Mon Sep 17 00:00:00 2001 From: Anna Hablova Date: Mon, 3 Jun 2024 18:34:46 +0200 Subject: [PATCH] release: `1.6.0-beta.1` --- hubspot/build.gradle.kts | 174 +++++++++++++++++++-------------------- 1 file changed, 87 insertions(+), 87 deletions(-) diff --git a/hubspot/build.gradle.kts b/hubspot/build.gradle.kts index a15c300..0fd15cd 100644 --- a/hubspot/build.gradle.kts +++ b/hubspot/build.gradle.kts @@ -1,129 +1,129 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { - kotlin("jvm") version "1.6.10" + kotlin("jvm") version "1.6.10" - // https://github.com/gradle-nexus/publish-plugin - id("io.github.gradle-nexus.publish-plugin") version "1.1.0" - id("maven-publish") - id("signing") + // https://github.com/gradle-nexus/publish-plugin + id("io.github.gradle-nexus.publish-plugin") version "1.1.0" + id("maven-publish") + id("signing") } group = "org.boomevents" -version = "1.5.0-beta.1" +version = "1.6.0-beta.1" java.sourceCompatibility = JavaVersion.VERSION_11 java.targetCompatibility = JavaVersion.VERSION_11 repositories { - mavenCentral() + mavenCentral() } dependencies { - implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.14.2") - implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.2") + implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.14.2") + implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.2") - implementation("com.konghq:unirest-java:3.13.6") - implementation("com.konghq:unirest-objectmapper-jackson:3.13.6") + implementation("com.konghq:unirest-java:3.13.6") + implementation("com.konghq:unirest-objectmapper-jackson:3.13.6") - implementation( - "org.jetbrains.kotlin:kotlin-stdlib:1.6.10" - ) + implementation( + "org.jetbrains.kotlin:kotlin-stdlib:1.6.10" + ) - testImplementation("junit:junit:4.13.2") - testImplementation("org.junit.vintage:junit-vintage-engine:5.8.2") - testImplementation("org.mockito.kotlin:mockito-kotlin:3.2.0") + testImplementation("junit:junit:4.13.2") + testImplementation("org.junit.vintage:junit-vintage-engine:5.8.2") + testImplementation("org.mockito.kotlin:mockito-kotlin:3.2.0") } java { - withSourcesJar() - withJavadocJar() + withSourcesJar() + withJavadocJar() } signing { - val signingKey: String? = System.getenv("GRADLE_GPG_SIGN_KEY") - val signingPassword: String? = System.getenv("GRADLE_GPG_SIGN_PASSWORD") + val signingKey: String? = System.getenv("GRADLE_GPG_SIGN_KEY") + val signingPassword: String? = System.getenv("GRADLE_GPG_SIGN_PASSWORD") - useInMemoryPgpKeys(signingKey, signingPassword) + useInMemoryPgpKeys(signingKey, signingPassword) - sign(publishing.publications) + sign(publishing.publications) } publishing { - publications { - create("sdk") { - pom { - groupId = "org.boomevents" - artifactId = "hubspot-sdk" - version = version - - name.set("HubSpot SDK") - description.set("Implementation of HubSpot API for Java/Kotlin in tiny SDK") - url.set("https://github.com/boomevents/hubspot") - - licenses { - license { - name.set("The Apache License, Version 2.0") - url.set("http://www.apache.org/licenses/LICENSE-2.0.txt") - } - } - - developers { - developer { - id.set("boomevents") - name.set("BOOM") - email.set("dev@boomevents.com") - } - } - - scm { - connection.set("scm:git:git://github.com:boomevents/hubspot.git") - developerConnection.set("scm:git:ssh://github.com:boomevents/hubspot.git") - url.set("https://github.com/boomevents/hubspot") - } - } - - from(components["java"]) - } - } + publications { + create("sdk") { + pom { + groupId = "org.boomevents" + artifactId = "hubspot-sdk" + version = version + + name.set("HubSpot SDK") + description.set("Implementation of HubSpot API for Java/Kotlin in tiny SDK") + url.set("https://github.com/boomevents/hubspot") + + licenses { + license { + name.set("The Apache License, Version 2.0") + url.set("http://www.apache.org/licenses/LICENSE-2.0.txt") + } + } + + developers { + developer { + id.set("boomevents") + name.set("BOOM") + email.set("dev@boomevents.com") + } + } + + scm { + connection.set("scm:git:git://github.com:boomevents/hubspot.git") + developerConnection.set("scm:git:ssh://github.com:boomevents/hubspot.git") + url.set("https://github.com/boomevents/hubspot") + } + } + + from(components["java"]) + } + } } nexusPublishing { - repositories { - create("sdk") { - nexusUrl.set( - uri("https://s01.oss.sonatype.org/service/local/") - ) - - snapshotRepositoryUrl.set( - uri("https://s01.oss.sonatype.org/content/repositories/snapshots/") - ) - - username.set( - System.getenv("SONATYPE_USERNAME") - ) - password.set( - System.getenv("SONATYPE_PASSWORD") - ) - } - } + repositories { + create("sdk") { + nexusUrl.set( + uri("https://s01.oss.sonatype.org/service/local/") + ) + + snapshotRepositoryUrl.set( + uri("https://s01.oss.sonatype.org/content/repositories/snapshots/") + ) + + username.set( + System.getenv("SONATYPE_USERNAME") + ) + password.set( + System.getenv("SONATYPE_PASSWORD") + ) + } + } } tasks.withType { - useJUnitPlatform() + useJUnitPlatform() - failFast = true // End after first failed test + failFast = true // End after first failed test - outputs.upToDateWhen { false } + outputs.upToDateWhen { false } } tasks.withType { - kotlinOptions { - freeCompilerArgs = listOf( - "-Xjsr305=strict", - "-Xallow-result-return-type" - ) - jvmTarget = "11" - } + kotlinOptions { + freeCompilerArgs = listOf( + "-Xjsr305=strict", + "-Xallow-result-return-type" + ) + jvmTarget = "11" + } }