From 91dd9eaf7f7d3022a1ade41bda4cca5e80dff01c Mon Sep 17 00:00:00 2001 From: Mikhail Chernyakov Date: Tue, 4 Jan 2022 20:57:06 +0100 Subject: [PATCH] version 0.0.1 --- README.md | 5 +++-- build.gradle | 22 +++++++++------------- gradle.properties | 4 +++- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 996441e..383887f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # FastUtil Concurrent Wrapper ![Java CI](https://github.com/trivago/fastutil-concurrent-wrapper/actions/workflows/gradle.yml/badge.svg) +[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.trivago/fastutil-concurrent-wrapper/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/com.trivago/fastutil-concurrent-wrapper/) ## Description @@ -29,14 +30,14 @@ _Note_: currently the lib contains wrappers not for every primitive map. Feel fr com.trivago fastutil-concurrent-wrapper - 0.0.x + 0.0.1 ``` #### Gradle ```groovy -implementation group: 'com.trivago', name: 'fastutil-concurrent-wrapper', version: '0.0.x' +implementation group: 'com.trivago', name: 'fastutil-concurrent-wrapper', version: '0.0.1' ``` ## Usage diff --git a/build.gradle b/build.gradle index 41c2aaa..f1dd72c 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ apply plugin: 'java' apply plugin: "com.vanniktech.maven.publish" group 'com.trivago' -version '0.0.1-SNAPSHOT' +version '0.0.1' sourceCompatibility = 1.8 targetCompatibility = 1.8 @@ -36,18 +36,14 @@ jar { archiveBaseName.set('fastutil-concurrent-wrapper') } -tasks.register("release") { - - // ./gradlew release uploadArchives - mavenPublish { - targets { - uploadArchives { - releaseRepositoryUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" - snapshotRepositoryUrl = "https://oss.sonatype.org/content/repositories/snapshots/" - repositoryUsername = nexusUsername - repositoryPassword = nexusPassword - signing = true - } +// ./gradlew publish --no-daemon --no-parallel +// ./gradlew closeAndReleaseRepository +publishing { + repositories { + maven { + def releasesRepoUrl = "$buildDir/repos/releases" + def snapshotsRepoUrl = "$buildDir/repos/snapshots" + url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl } } } diff --git a/gradle.properties b/gradle.properties index 8d2f077..73600e9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,11 +1,13 @@ GROUP=com.trivago -VERSION_NAME=0.0.1-SNAPSHOT +VERSION_NAME=0.0.1 POM_URL=https://github.com/trivago/fastutil-concurrent-wrapper POM_SCM_URL=https://github.com/trivago/fastutil-concurrent-wrapper POM_SCM_CONNECTION=scm:git:https://github.com/trivago/fastutil-concurrent-wrapper POM_SCM_DEV_CONNECTION=scm:git:https://github.com/trivago/fastutil-concurrent-wrapper +POM_DESCRIPTION=Set of concurrent wrappers around fastutil primitive maps. + POM_LICENCE_NAME=The Apache Software License, Version 2.0 POM_LICENCE_URL=https://opensource.org/licenses/Apache-2.0 POM_LICENCE_DIST=repo