Skip to content

Commit

Permalink
version 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mchernyakov committed Jan 4, 2022
1 parent 0ede3d9 commit 91dd9ea
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -29,14 +30,14 @@ _Note_: currently the lib contains wrappers not for every primitive map. Feel fr
<dependency>
<groupId>com.trivago</groupId>
<artifactId>fastutil-concurrent-wrapper</artifactId>
<version>0.0.x</version>
<version>0.0.1</version>
</dependency>
```

#### 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
Expand Down
22 changes: 9 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
}
}
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 91dd9ea

Please sign in to comment.