File tree Expand file tree Collapse file tree 3 files changed +15
-16
lines changed Expand file tree Collapse file tree 3 files changed +15
-16
lines changed Original file line number Diff line number Diff line change 11# FastUtil Concurrent Wrapper
22
33![ Java CI] ( https://github.com/trivago/fastutil-concurrent-wrapper/actions/workflows/gradle.yml/badge.svg )
4+ [ ![ 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/ )
45
56## Description
67
@@ -29,14 +30,14 @@ _Note_: currently the lib contains wrappers not for every primitive map. Feel fr
2930<dependency >
3031 <groupId >com.trivago</groupId >
3132 <artifactId >fastutil-concurrent-wrapper</artifactId >
32- <version >0.0.x </version >
33+ <version >0.0.1 </version >
3334</dependency >
3435```
3536
3637#### Gradle
3738
3839``` groovy
39- implementation group: 'com.trivago', name: 'fastutil-concurrent-wrapper', version: '0.0.x '
40+ implementation group: 'com.trivago', name: 'fastutil-concurrent-wrapper', version: '0.0.1 '
4041```
4142
4243## Usage
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ apply plugin: 'java'
1616apply plugin : " com.vanniktech.maven.publish"
1717
1818group ' com.trivago'
19- version ' 0.0.1-SNAPSHOT '
19+ version ' 0.0.1'
2020
2121sourceCompatibility = 1.8
2222targetCompatibility = 1.8
@@ -36,18 +36,14 @@ jar {
3636 archiveBaseName. set(' fastutil-concurrent-wrapper' )
3737}
3838
39- tasks. register(" release" ) {
40-
41- // ./gradlew release uploadArchives
42- mavenPublish {
43- targets {
44- uploadArchives {
45- releaseRepositoryUrl = " https://oss.sonatype.org/service/local/staging/deploy/maven2/"
46- snapshotRepositoryUrl = " https://oss.sonatype.org/content/repositories/snapshots/"
47- repositoryUsername = nexusUsername
48- repositoryPassword = nexusPassword
49- signing = true
50- }
39+ // ./gradlew publish --no-daemon --no-parallel
40+ // ./gradlew closeAndReleaseRepository
41+ publishing {
42+ repositories {
43+ maven {
44+ def releasesRepoUrl = " $buildDir /repos/releases"
45+ def snapshotsRepoUrl = " $buildDir /repos/snapshots"
46+ url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
5147 }
5248 }
5349}
Original file line number Diff line number Diff line change 11GROUP =com.trivago
2- VERSION_NAME =0.0.1-SNAPSHOT
2+ VERSION_NAME =0.0.1
33
44POM_URL =https://github.com/trivago/fastutil-concurrent-wrapper
55POM_SCM_URL =https://github.com/trivago/fastutil-concurrent-wrapper
66POM_SCM_CONNECTION =scm:git:https://github.com/trivago/fastutil-concurrent-wrapper
77POM_SCM_DEV_CONNECTION =scm:git:https://github.com/trivago/fastutil-concurrent-wrapper
88
9+ POM_DESCRIPTION =Set of concurrent wrappers around fastutil primitive maps.
10+
911POM_LICENCE_NAME =The Apache Software License, Version 2.0
1012POM_LICENCE_URL =https://opensource.org/licenses/Apache-2.0
1113POM_LICENCE_DIST =repo
You can’t perform that action at this time.
0 commit comments