Skip to content

Commit

Permalink
released version 0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cansik committed May 2, 2020
1 parent ddca2c0 commit c04a19d
Show file tree
Hide file tree
Showing 12 changed files with 60 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ out
build
release
*.log
gradle.properties
15 changes: 15 additions & 0 deletions PUBLISH.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
### Publish

#### Maven

```bash
./gradlew :publishGprPublicationToMavenRepository
```

Publish: https://oss.sonatype.org/#stagingRepositories

#### Github Packages

```bash
./gradlew :publishGprPublicationToGitHubPackagesRepository
```
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Art-Net DMX over IP library for Java and Processing. This library adds a lot of
* Port selection of the UDP services
* Supports java version `8` and `11` (oracle and openjdk)

## Installation


## Examples
The library adds a new class called `ArtNetClient`, which contains easy access to the underlaying Art-Net implementation.

Expand Down
37 changes: 34 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
}

group 'ch.bildspur'
version '0.6.1'
version '0.6.2'

sourceCompatibility = 1.8

wrapper {
gradleVersion = '5.6.3'
distributionUrl = 'https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip'
gradleVersion = '6.3'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-bin.zip"
}

repositories {
Expand Down Expand Up @@ -51,6 +52,10 @@ task fatJar(type: Jar) {
with jar
}

signing {
sign publishing.publications
}

publishing {
repositories {
maven {
Expand All @@ -61,6 +66,15 @@ publishing {
password = project.findProperty("gpr.key") ?: System.getenv("GPR_API_KEY")
}
}

maven {
name = "Maven"
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2")
credentials {
username = project.findProperty("nexusUsername")
password = project.findProperty("nexusPassword")
}
}
}
afterEvaluate {
publications {
Expand All @@ -72,6 +86,23 @@ publishing {
name = "ArtNet for Java and Processing"
description = "Art-Net DMX over IP library for Java and Processing."
url = "https://github.com/cansik/artnet4j"
licenses {
license {
name = 'GNU General Public License v3.0'
url = 'https://www.gnu.org/licenses/gpl-3.0.txt'
}
}
developers {
developer {
id = 'cansik'
name = 'bildspur'
email = '[email protected]'
}
}
scm {
connection = 'scm:[email protected]:cansik/artnet4j.git'
url = 'https://github.com/cansik/artnet4j'
}
}
}
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Feb 25 16:11:33 CET 2018
#Sat May 02 17:04:34 CEST 2020
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.3-all.zip
zipStoreBase=GRADLE_USER_HOME
2 changes: 1 addition & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
DEFAULT_JVM_OPTS='"-Xmx64m"'

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
Expand Down
2 changes: 1 addition & 1 deletion gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DEFAULT_JVM_OPTS="-Xmx64m"

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
Expand Down
4 changes: 2 additions & 2 deletions library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authors=[Florian Bruggisser](https://bildspur.ch)
url=https://github.com/cansik/artnet4j
sentence=Framework for sending and receiving DMX data over the ArtNet protocol.
paragraph=Send and receive DMX data over the ArtNet protocol.
version=060
prettyVersion=v0.6.0
version=062
prettyVersion=v0.6.2
minRevision=0
maxRevision=0
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package ch.bildspur.artnet.test;

import ch.bildspur.artnet.ArtNetClient;
import ch.bildspur.artnet.ArtNetNode;
import processing.core.PApplet;


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package ch.bildspur.artnet.test;

import ch.bildspur.artnet.ArtNetClient;
import ch.bildspur.artnet.ArtNetNode;
import processing.core.PApplet;


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package ch.bildspur.artnet.test;

import ch.bildspur.artnet.ArtNetBuffer;
import ch.bildspur.artnet.ArtNetClient;
import ch.bildspur.artnet.ArtNetNode;
import processing.core.PApplet;
Expand Down

0 comments on commit c04a19d

Please sign in to comment.