Skip to content

Commit

Permalink
Fix dependencies having the wrong scope ('runtime', instead of 'compi…
Browse files Browse the repository at this point in the history
…le')
  • Loading branch information
SandroHc committed Jul 23, 2020
1 parent 7bd30e5 commit f7a716a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,33 @@ 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'
}
```

If using Maven (`pom.xml`):
```xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
<id>central</id>
<name>bintray</name>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>

<dependency>
<groupId>net.sandrohc</groupId>
<artifactId>reactive-jikan</artifactId>
<version>0.1.0</version>
<version>0.1.1</version>
</dependency>
```

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

Expand Down
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group 'net.sandrohc'
version '0.1.0'
version '0.1.1'

java {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -98,6 +98,7 @@ bintray {

gpg {
sign = true
passphrase = findProperty('bintray.gpg.password')
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ signing.gnupg.keyName=12345678
signing.gnupg.passphrase=secret

bintray.user=USERNAME
bintray.apikey=API_KEY
bintray.apikey=API_KEY
bintray.gpg.password=secret

0 comments on commit f7a716a

Please sign in to comment.