diff --git a/.circleci/config.yml b/.circleci/config.yml index bc2bd1c..04b3ea5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,14 +90,16 @@ jobs: workflows: version: 2 - build_and_puslish_snapshot: + build_and_puslish: jobs: - - build + - build: + filters: + tags: { only: /^v.*/ } - publish_snapshot: requires: [ build ] filters: { branches: { only: develop } } - publish_release: requires: [ build ] filters: - tags: { only: /v.*/ } + tags: { only: /^v.*/ } branches: { ignore: /.*/ } diff --git a/gradle.properties b/gradle.properties index b5f12d3..046af9b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ group = run.smt.ktest -version = 1.0.0 +version = 1.0.0-rc1 kotlinVersion = 1.2.10 diff --git a/gradle/ossrh-default-pom.gradle b/gradle/ossrh-default-pom.gradle index 0496d64..d58d9aa 100644 --- a/gradle/ossrh-default-pom.gradle +++ b/gradle/ossrh-default-pom.gradle @@ -6,6 +6,9 @@ def deployer = uploadArchives.repositories.hasProperty('mavenDeployer') ? upload name project.description packaging 'jar' url project.url + if (project.hasProperty('fullDescription')) { + description fullDescription + } scm { connection "scm:git:${project.url}" diff --git a/ktest-core/ktest-api/build.gradle b/ktest-core/ktest-api/build.gradle index a1a4653..51b0ab7 100644 --- a/ktest-core/ktest-api/build.gradle +++ b/ktest-core/ktest-api/build.gradle @@ -1,4 +1,5 @@ description = 'kTest :: API' +ext.fullDescription = 'Core API of kTest' dependencies { compile project(':ktest-core:ktest-util') diff --git a/ktest-core/ktest-config/build.gradle b/ktest-core/ktest-config/build.gradle index 4258d0e..2589b72 100644 --- a/ktest-core/ktest-config/build.gradle +++ b/ktest-core/ktest-config/build.gradle @@ -1,4 +1,5 @@ description = 'KTest :: Config' +ext.fullDescription = 'Extensions for typesafe config' dependencies { compile 'org.jetbrains.kotlin:kotlin-stdlib-jre8' diff --git a/ktest-core/ktest-runner/ktest-runner-junit4/build.gradle b/ktest-core/ktest-runner/ktest-runner-junit4/build.gradle index 79c57e5..012df4d 100644 --- a/ktest-core/ktest-runner/ktest-runner-junit4/build.gradle +++ b/ktest-core/ktest-runner/ktest-runner-junit4/build.gradle @@ -1,4 +1,5 @@ description = 'kTest :: Runner :: JUnit4' +ext.fullDescription = 'JUnit4 runner for kTest' dependencies { compile project(':ktest-core:ktest-util') diff --git a/ktest-core/ktest-util/build.gradle b/ktest-core/ktest-util/build.gradle index e7b23f8..2bd471c 100644 --- a/ktest-core/ktest-util/build.gradle +++ b/ktest-core/ktest-util/build.gradle @@ -1,4 +1,5 @@ description = 'KTest :: Util' +ext.fullDescription = 'kTest utilities' dependencies { compile 'org.jetbrains.kotlin:kotlin-stdlib-jre8' diff --git a/ktest-integration/ktest-allure/build.gradle b/ktest-integration/ktest-allure/build.gradle index e3b0e24..28bf14e 100644 --- a/ktest-integration/ktest-allure/build.gradle +++ b/ktest-integration/ktest-allure/build.gradle @@ -1,4 +1,5 @@ description = 'kTest :: Integration :: Allure' +ext.fullDescription = 'Integration layer between Allure and kTest' dependencies { compile project(':ktest-core:ktest-util') diff --git a/ktest-integration/ktest-db/build.gradle b/ktest-integration/ktest-db/build.gradle index a9d71d7..dea1651 100644 --- a/ktest-integration/ktest-db/build.gradle +++ b/ktest-integration/ktest-db/build.gradle @@ -1,4 +1,5 @@ description = 'kTest :: Integration :: DB' +ext.fullDescription = 'Database intergration for kTest' dependencies { compile project(':ktest-core:ktest-util') diff --git a/ktest-integration/ktest-jackson/build.gradle b/ktest-integration/ktest-jackson/build.gradle index 54d16e5..79d15dd 100644 --- a/ktest-integration/ktest-jackson/build.gradle +++ b/ktest-integration/ktest-jackson/build.gradle @@ -1,4 +1,5 @@ description = 'kTest :: Integration :: Jackson' +ext.fullDescription = 'kTest Jackson integration + type safe type DSL' dependencies { compile project(':ktest-core:ktest-util') diff --git a/ktest-integration/ktest-json-matchers/build.gradle b/ktest-integration/ktest-json-matchers/build.gradle index 17b18bd..63e983a 100644 --- a/ktest-integration/ktest-json-matchers/build.gradle +++ b/ktest-integration/ktest-json-matchers/build.gradle @@ -1,4 +1,5 @@ description = 'kTest :: Integration :: JSON Matchers' +ext.fullDescription = 'kTest JSON matchers' dependencies { compile project(':ktest-core:ktest-util') diff --git a/ktest-integration/ktest-jsonpath/build.gradle b/ktest-integration/ktest-jsonpath/build.gradle index b8167d6..3f8afdd 100644 --- a/ktest-integration/ktest-jsonpath/build.gradle +++ b/ktest-integration/ktest-jsonpath/build.gradle @@ -1,4 +1,5 @@ description = 'kTest :: Integration :: JSONPath' +ext.fullDescription = 'kTest JSONPath integration + subtree DSL' dependencies { compile project(':ktest-core:ktest-util') diff --git a/ktest-integration/ktest-rest/build.gradle b/ktest-integration/ktest-rest/build.gradle index 2fb7ee6..8c7ba84 100644 --- a/ktest-integration/ktest-rest/build.gradle +++ b/ktest-integration/ktest-rest/build.gradle @@ -1,4 +1,5 @@ description = 'kTest :: Integration :: REST' +ext.fullDescription = 'RestAssured integration' dependencies { compile project(':ktest-core:ktest-util') diff --git a/ktest-integration/ktest-resttest/build.gradle b/ktest-integration/ktest-resttest/build.gradle index ab4350d..1daaf68 100644 --- a/ktest-integration/ktest-resttest/build.gradle +++ b/ktest-integration/ktest-resttest/build.gradle @@ -1,4 +1,5 @@ description = 'kTest :: Integration :: RESTTest' +ext.fullDescription = 'Declarative DSL for quick and easy testing of REST APIs' dependencies { compile project(':ktest-core:ktest-util') diff --git a/ktest-pom/build.gradle b/ktest-pom/build.gradle index 62104fd..6d948c0 100644 --- a/ktest-pom/build.gradle +++ b/ktest-pom/build.gradle @@ -46,6 +46,7 @@ def deployer = uploadArchives.repositories.hasProperty('mavenDeployer') ? upload pom.project { name project.description packaging 'pom' + description 'kTest parent POM' url project.url diff --git a/sample/build.gradle b/sample/build.gradle index 9499cfd..06e16b2 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -1,4 +1,5 @@ description = "kTest :: Samples" +ext.fullDescription = 'kTest samples' import org.mockserver.mockserver.MockServer