From 623b947fc47c7c7b32647f367c254ed5bffd4a75 Mon Sep 17 00:00:00 2001 From: Mikhail Chernyakov Date: Wed, 7 Dec 2022 17:56:51 +0100 Subject: [PATCH] fastutil lib as api dependency (#13) --- .github/workflows/gradle.yml | 8 ++++---- README.md | 4 ++-- build.gradle | 8 ++++---- gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index ed018a7..4c7b355 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -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 diff --git a/README.md b/README.md index 7786eea..95af2a5 100644 --- a/README.md +++ b/README.md @@ -32,14 +32,14 @@ _Note_: currently the lib contains wrappers not for every primitive map. Feel fr com.trivago fastutil-concurrent-wrapper - 0.2.0 + 0.2.1 ``` #### 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 diff --git a/build.gradle b/build.gradle index 0c5ecdd..90e76c8 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ allprojects { } group 'com.trivago' -version '0.2.1-SNAPSHOT' +version '0.2.1' mavenPublishing { pom { @@ -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 { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 69a9715..070cb70 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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