Skip to content

Commit 91dd9ea

Browse files
committed
version 0.0.1
1 parent 0ede3d9 commit 91dd9ea

File tree

3 files changed

+15
-16
lines changed

3 files changed

+15
-16
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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

build.gradle

+9-13
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ apply plugin: 'java'
1616
apply plugin: "com.vanniktech.maven.publish"
1717

1818
group 'com.trivago'
19-
version '0.0.1-SNAPSHOT'
19+
version '0.0.1'
2020

2121
sourceCompatibility = 1.8
2222
targetCompatibility = 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
}

gradle.properties

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
GROUP=com.trivago
2-
VERSION_NAME=0.0.1-SNAPSHOT
2+
VERSION_NAME=0.0.1
33

44
POM_URL=https://github.com/trivago/fastutil-concurrent-wrapper
55
POM_SCM_URL=https://github.com/trivago/fastutil-concurrent-wrapper
66
POM_SCM_CONNECTION=scm:git:https://github.com/trivago/fastutil-concurrent-wrapper
77
POM_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+
911
POM_LICENCE_NAME=The Apache Software License, Version 2.0
1012
POM_LICENCE_URL=https://opensource.org/licenses/Apache-2.0
1113
POM_LICENCE_DIST=repo

0 commit comments

Comments
 (0)