File tree 3 files changed +15
-16
lines changed
3 files changed +15
-16
lines changed Original file line number Diff line number Diff line change 1
1
# FastUtil Concurrent Wrapper
2
2
3
3
![ 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/ )
4
5
5
6
## Description
6
7
@@ -29,14 +30,14 @@ _Note_: currently the lib contains wrappers not for every primitive map. Feel fr
29
30
<dependency >
30
31
<groupId >com.trivago</groupId >
31
32
<artifactId >fastutil-concurrent-wrapper</artifactId >
32
- <version >0.0.x </version >
33
+ <version >0.0.1 </version >
33
34
</dependency >
34
35
```
35
36
36
37
#### Gradle
37
38
38
39
``` 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 '
40
41
```
41
42
42
43
## Usage
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ apply plugin: 'java'
16
16
apply plugin : " com.vanniktech.maven.publish"
17
17
18
18
group ' com.trivago'
19
- version ' 0.0.1-SNAPSHOT '
19
+ version ' 0.0.1'
20
20
21
21
sourceCompatibility = 1.8
22
22
targetCompatibility = 1.8
@@ -36,18 +36,14 @@ jar {
36
36
archiveBaseName. set(' fastutil-concurrent-wrapper' )
37
37
}
38
38
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
51
47
}
52
48
}
53
49
}
Original file line number Diff line number Diff line change 1
1
GROUP =com.trivago
2
- VERSION_NAME =0.0.1-SNAPSHOT
2
+ VERSION_NAME =0.0.1
3
3
4
4
POM_URL =https://github.com/trivago/fastutil-concurrent-wrapper
5
5
POM_SCM_URL =https://github.com/trivago/fastutil-concurrent-wrapper
6
6
POM_SCM_CONNECTION =scm:git:https://github.com/trivago/fastutil-concurrent-wrapper
7
7
POM_SCM_DEV_CONNECTION =scm:git:https://github.com/trivago/fastutil-concurrent-wrapper
8
8
9
+ POM_DESCRIPTION =Set of concurrent wrappers around fastutil primitive maps.
10
+
9
11
POM_LICENCE_NAME =The Apache Software License, Version 2.0
10
12
POM_LICENCE_URL =https://opensource.org/licenses/Apache-2.0
11
13
POM_LICENCE_DIST =repo
You can’t perform that action at this time.
0 commit comments