Skip to content

Commit

Permalink
fastutil lib as api dependency (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
mchernyakov authored Dec 7, 2022
1 parent 8501a30 commit 623b947
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 16
uses: actions/setup-java@v2
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '16'
java-version: '17'
distribution: 'adopt'
- name: Clean and Build with Gradle
run: ./gradlew clean build
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,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.2.0</version>
<version>0.2.1</version>
</dependency>
```

#### Gradle

```groovy
implementation group: 'com.trivago', name: 'fastutil-concurrent-wrapper', version: '0.2.0'
implementation group: 'com.trivago', name: 'fastutil-concurrent-wrapper', version: '0.2.1'
```

## Usage
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ allprojects {
}

group 'com.trivago'
version '0.2.1-SNAPSHOT'
version '0.2.1'

mavenPublishing {
pom {
Expand Down Expand Up @@ -62,10 +62,10 @@ sourceSets {
}

dependencies {
implementation group: 'it.unimi.dsi', name: 'fastutil', version: '8.5.9'
api group: 'it.unimi.dsi', name: 'fastutil', version: '8.5.9'

testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
}

test {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 623b947

Please sign in to comment.