From f7a716a960571e257e3e8a6cf83e018cbd721bba Mon Sep 17 00:00:00 2001 From: Sandro Marques Date: Thu, 23 Jul 2020 10:31:25 +0100 Subject: [PATCH] Fix dependencies having the wrong scope ('runtime', instead of 'compile') --- README.md | 15 +++++++-------- build.gradle | 9 +++++---- gradle.properties.example | 3 ++- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index c4b7d36..d90f655 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,12 @@ If using Gradle (`build.gradle`): ```groovy allprojects { repositories { - maven { url 'https://jitpack.io' } + jcenter() } } dependencies { - implementation 'net.sandrohc:reactive-jikan:0.1.0' + implementation 'net.sandrohc:reactive-jikan:0.1.1' } ``` @@ -27,21 +27,20 @@ If using Maven (`pom.xml`): ```xml - jitpack.io - https://jitpack.io + central + bintray + https://jcenter.bintray.com net.sandrohc reactive-jikan - 0.1.0 + 0.1.1 ``` -If you want to use the development version, place `master-SNAPSHOT` in the version. - -For other building tools, see: https://jitpack.io/#net.sandrohc/reactive-jikan +If you want to use development versions, see: https://jitpack.io/#net.sandrohc/reactive-jikan ## Usage diff --git a/build.gradle b/build.gradle index 6316830..0a3618c 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ plugins { } group 'net.sandrohc' -version '0.1.0' +version '0.1.1' java { sourceCompatibility = JavaVersion.VERSION_1_8 @@ -36,11 +36,11 @@ repositories { dependencies { // Project Reactor - implementation 'io.projectreactor.netty:reactor-netty:0.9.9.RELEASE' + api 'io.projectreactor.netty:reactor-netty:0.9.10.RELEASE' // Jackson (JSON serializer) - implementation 'com.fasterxml.jackson.core:jackson-databind:2.11.1' - implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.1' + api 'com.fasterxml.jackson.core:jackson-databind:2.11.1' + api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.1' // Logging api 'org.slf4j:slf4j-api:2.0.0-alpha1' @@ -98,6 +98,7 @@ bintray { gpg { sign = true + passphrase = findProperty('bintray.gpg.password') } } } diff --git a/gradle.properties.example b/gradle.properties.example index be05bc3..1a9dbff 100644 --- a/gradle.properties.example +++ b/gradle.properties.example @@ -3,4 +3,5 @@ signing.gnupg.keyName=12345678 signing.gnupg.passphrase=secret bintray.user=USERNAME -bintray.apikey=API_KEY \ No newline at end of file +bintray.apikey=API_KEY +bintray.gpg.password=secret \ No newline at end of file