Cleanup and gradle update.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mark Nellemann 2023-01-03 12:49:21 +01:00
parent a0ad98bf52
commit 3e7ba2f46e
8 changed files with 6 additions and 12 deletions

View file

@ -11,8 +11,8 @@ steps:
- name: publish
image: eclipse-temurin:8-jdk
environment:
AUTH_TOKEN:
from_secret: auth # gitea_username:gitea_token
AUTH_TOKEN: # Gitea authentication: username:token
from_secret: auth # Name of DroneCI secret exposing above
commands:
- ./gradlew packages
- for file in build/libs/*-all.jar ; do curl --user "$${AUTH_TOKEN}" --upload-file "$${file}" "https://git.data.coop/api/packages/${DRONE_REPO_OWNER}/generic/${DRONE_REPO_NAME}/${DRONE_TAG}/$(basename $file)" ; done

View file

@ -3,9 +3,9 @@ plugins {
id 'groovy'
id 'application'
id 'jacoco'
id "com.github.johnrengelman.shadow" version "7.1.2"
id "net.nemerosa.versioning" version "2.15.1"
id "nebula.ospackage" version "9.1.1"
id "com.netflix.nebula.ospackage" version "10.0.0"
id "com.github.johnrengelman.shadow" version "7.1.2"
}
repositories {
@ -71,8 +71,6 @@ jacocoTestCoverageVerification {
}
check.dependsOn jacocoTestCoverageVerification
apply plugin: 'nebula.ospackage'
ospackage {
packageName = 'syslogd'
release = '1'

View file

@ -8,7 +8,7 @@ More information about the AIX errlogger is available on the IBM [knowledge cent
### Prepare the local syslog service
Configure the local syslog service to forward messages to our remote [syslogd](https://bitbucket.org/mnellemann/syslogd/) service.
Configure the local syslog service to forward messages to our remote [syslogd](https://git.data.coop/nellemann/syslogd/) service.
Create an empty local log file:

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View file

@ -21,7 +21,6 @@ import biz.nellemann.syslogd.LogReceiveListener;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.List;

View file

@ -19,7 +19,6 @@ import biz.nellemann.syslogd.msg.SyslogMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
import java.time.Instant;
import java.util.zip.DataFormatException;

View file

@ -15,7 +15,6 @@
*/
package biz.nellemann.syslogd.parser;
import biz.nellemann.syslogd.LogReceiveEvent;
import biz.nellemann.syslogd.msg.Facility;
import biz.nellemann.syslogd.msg.Severity;
import biz.nellemann.syslogd.msg.SyslogMessage;

View file

@ -15,7 +15,6 @@
*/
package biz.nellemann.syslogd.parser;
import biz.nellemann.syslogd.LogReceiveEvent;
import biz.nellemann.syslogd.msg.Severity;
import biz.nellemann.syslogd.msg.Facility;
import biz.nellemann.syslogd.msg.SyslogMessage;