Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
More deployment streamlining & getting ready for 2.0.0-RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
mannodermaus committed Sep 28, 2017
1 parent 8da9ee0 commit 2428b74
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ A reactive wrapper around network service discovery functionalities for Kotlin a

```groovy
// Always include this
implementation "de.mannodermaus.rxjava2:rxbonjour:2.0.0-SNAPSHOT"
implementation "de.mannodermaus.rxjava2:rxbonjour:2.0.0-RC1"
// Example: Usage on Android with JmDNS
implementation "de.mannodermaus.rxjava2:rxbonjour-platform-android:2.0.0-SNAPSHOT"
implementation "de.mannodermaus.rxjava2:rxbonjour-driver-jmdns:2.0.0-SNAPSHOT"
implementation "de.mannodermaus.rxjava2:rxbonjour-platform-android:2.0.0-RC1"
implementation "de.mannodermaus.rxjava2:rxbonjour-driver-jmdns:2.0.0-RC1"
```

For the (less flexible & Android-only) RxJava 1 version, have a look at the [1.x][onex] branch.
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ org.gradle.jvmargs = -Xmx1536M
# Library metadata
GROUP_ID = de.mannodermaus.rxjava2
ARTIFACT_ID = rxbonjour
VERSION_NAME = 2.0.0-SNAPSHOT
VERSION_NAME = 2.0.0-RC1
LIBRARY_NAME = RxBonjour2.x
DESCRIPTION = Reactive spice added to Android's network service discovery API. (Compatible with RxJava 2)
WEB_URL = https://github.com/mannodermaus/RxBonjour
Expand Down
2 changes: 0 additions & 2 deletions rxbonjour-drivers/driver-jmdns/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
apply plugin: "java-library"
apply plugin: "kotlin"
apply plugin: "maven-publish"
apply plugin: "com.jfrog.bintray"

dependencies {
// @formatter:off
Expand Down
2 changes: 0 additions & 2 deletions rxbonjour-drivers/driver-nsdmanager/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
apply plugin: "com.android.library"
apply plugin: "kotlin-android"
apply plugin: "digital.wup.android-maven-publish"
apply plugin: "com.jfrog.bintray"

android {
compileSdkVersion COMPILE_SDK_VERSION
Expand Down
2 changes: 0 additions & 2 deletions rxbonjour-platforms/platform-android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
apply plugin: "com.android.library"
apply plugin: "kotlin-android"
apply plugin: "digital.wup.android-maven-publish"
apply plugin: "com.jfrog.bintray"

android {
compileSdkVersion COMPILE_SDK_VERSION
Expand Down
2 changes: 0 additions & 2 deletions rxbonjour-platforms/platform-desktop/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
apply plugin: "java-library"
apply plugin: "kotlin"
apply plugin: "maven-publish"
apply plugin: "com.jfrog.bintray"

dependencies {
// @formatter:off
Expand Down
2 changes: 0 additions & 2 deletions rxbonjour/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
apply plugin: "java-library"
apply plugin: "kotlin"
apply plugin: "maven-publish"
apply plugin: "com.jfrog.bintray"

dependencies {
// @formatter:off
Expand Down
8 changes: 8 additions & 0 deletions scripts/deploy.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ if (!["java", "android"].contains(targetPlatform)) {
// The artifact ID of the deployed package
def deployedArtifactId = project.ext.artifact

// Apply required plugins
if (targetPlatform == "java") {
apply plugin: "maven-publish"
} else {
apply plugin: "digital.wup.android-maven-publish"
}
apply plugin: "com.jfrog.bintray"

// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Include sources.jar archive in each release
//
Expand Down

0 comments on commit 2428b74

Please sign in to comment.