updated build plugins/dependencies: spotless, bnd, junit, archunit

pull/19/head
Stefan Feuerhahn 5 years ago
parent 066a034c49
commit 75ad0eb76c

@ -3,8 +3,8 @@ plugins {
`maven-publish`
signing
eclipse
id("biz.aQute.bnd.builder") version "5.0.0"
id("com.diffplug.gradle.spotless") version "3.27.2"
id("biz.aQute.bnd.builder") version "5.1.1"
id("com.diffplug.gradle.spotless") version "4.4.0"
id("io.codearte.nexus-staging") version "0.21.2"
}
@ -65,7 +65,7 @@ tasks.register<Tar>("tar") {
//-----java root project configurations
dependencies {
implementation("com.beanit:asn1bean:1.11.4-SNAPSHOT")
implementation("com.beanit:asn1bean:1.12.0")
implementation("com.toedter:jcalendar:1.4")
implementation("org.slf4j:slf4j-api:1.7.25")
runtimeOnly("ch.qos.logback:logback-classic:1.2.3")
@ -138,7 +138,6 @@ configure(javaProjects) {
repositories {
mavenCentral()
mavenLocal()
}
java {
@ -149,8 +148,8 @@ configure(javaProjects) {
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:5.5.1")
testImplementation("com.tngtech.archunit:archunit-junit5:0.13.1")
testImplementation("org.junit.jupiter:junit-jupiter:5.6.2")
testImplementation("com.tngtech.archunit:archunit-junit5:0.14.1")
}
tasks.test {

@ -23,6 +23,7 @@ public class Myexternal implements BerType, Serializable {
private BerObjectIdentifier directReference = null;
private BerInteger indirectReference = null;
private Encoding encoding = null;
public Myexternal() {}
public Myexternal(byte[] code) {

@ -23,6 +23,7 @@ public class Myexternal2 implements BerType, Serializable {
private BerObjectIdentifier directReference = null;
private BerInteger indirectReference = null;
private Encoding encoding = null;
public Myexternal2() {}
public Myexternal2(byte[] code) {

@ -17,6 +17,7 @@ public class CPAPPDU implements BerType, Serializable {
private byte[] code = null;
private ModeSelector modeSelector = null;
private NormalModeParameters normalModeParameters = null;
public CPAPPDU() {}
public CPAPPDU(byte[] code) {

@ -17,6 +17,7 @@ public class CPType implements BerType, Serializable {
private byte[] code = null;
private ModeSelector modeSelector = null;
private NormalModeParameters normalModeParameters = null;
public CPType() {}
public CPType(byte[] code) {

@ -19,6 +19,7 @@ public class ContextList implements BerType, Serializable {
private static final long serialVersionUID = 1L;
private byte[] code = null;
private List<SEQUENCE> seqOf = null;
public ContextList() {
seqOf = new ArrayList<SEQUENCE>();
}
@ -155,6 +156,7 @@ public class ContextList implements BerType, Serializable {
private PresentationContextIdentifier presentationContextIdentifier = null;
private AbstractSyntaxName abstractSyntaxName = null;
private TransferSyntaxNameList transferSyntaxNameList = null;
public SEQUENCE() {}
public SEQUENCE(byte[] code) {

@ -21,6 +21,7 @@ public class PDVList implements BerType, Serializable {
private TransferSyntaxName transferSyntaxName = null;
private PresentationContextIdentifier presentationContextIdentifier = null;
private PresentationDataValues presentationDataValues = null;
public PDVList() {}
public PDVList(byte[] code) {

@ -20,6 +20,7 @@ public class ResultList implements BerType, Serializable {
private static final long serialVersionUID = 1L;
private byte[] code = null;
private List<SEQUENCE> seqOf = null;
public ResultList() {
seqOf = new ArrayList<SEQUENCE>();
}

@ -19,6 +19,7 @@ public class AlternateAccess implements BerType, Serializable {
private static final long serialVersionUID = 1L;
private byte[] code = null;
private List<CHOICE> seqOf = null;
public AlternateAccess() {
seqOf = new ArrayList<CHOICE>();
}

@ -20,6 +20,7 @@ public class AlternateAccessSelection implements BerType, Serializable {
private SelectAccess selectAccess = null;
public AlternateAccessSelection() {}
public AlternateAccessSelection(byte[] code) {
this.code = code;
}
@ -140,6 +141,7 @@ public class AlternateAccessSelection implements BerType, Serializable {
private byte[] code = null;
private AccessSelection accessSelection = null;
private AlternateAccess alternateAccess = null;
public SelectAlternateAccess() {}
public SelectAlternateAccess(byte[] code) {
@ -299,7 +301,9 @@ public class AlternateAccessSelection implements BerType, Serializable {
private Unsigned32 index = null;
private IndexRange indexRange = null;
private BerNull allElements = null;
public AccessSelection() {}
public AccessSelection(byte[] code) {
this.code = code;
}
@ -739,7 +743,9 @@ public class AlternateAccessSelection implements BerType, Serializable {
private Unsigned32 index = null;
private IndexRange indexRange = null;
private BerNull allElements = null;
public SelectAccess() {}
public SelectAccess(byte[] code) {
this.code = code;
}

@ -35,7 +35,9 @@ public class Data implements BerType, Serializable {
private TimeOfDay binaryTime = null;
private MMSString mMSString = null;
private UtcTime utcTime = null;
public Data() {}
public Data(byte[] code) {
this.code = code;
}

@ -22,7 +22,9 @@ public class DeleteNamedVariableListRequest implements BerType, Serializable {
private BerInteger scopeOfDelete = null;
private ListOfVariableListName listOfVariableListName = null;
private DomainName domainName = null;
public DeleteNamedVariableListRequest() {}
public DeleteNamedVariableListRequest(byte[] code) {
this.code = code;
}

@ -21,6 +21,7 @@ public class FileDirectoryResponse implements BerType, Serializable {
private byte[] code = null;
private ListOfDirectoryEntry listOfDirectoryEntry = null;
private BerBoolean moreFollows = null;
public FileDirectoryResponse() {}
public FileDirectoryResponse(byte[] code) {

@ -19,6 +19,7 @@ public class GetNameListRequest implements BerType, Serializable {
private ObjectClass objectClass = null;
private ObjectScope objectScope = null;
private Identifier continueAfter = null;
public GetNameListRequest() {}
public GetNameListRequest(byte[] code) {

@ -21,6 +21,7 @@ public class GetNameListResponse implements BerType, Serializable {
private byte[] code = null;
private ListOfIdentifier listOfIdentifier = null;
private BerBoolean moreFollows = null;
public GetNameListResponse() {}
public GetNameListResponse(byte[] code) {

@ -20,6 +20,7 @@ public class InformationReport implements BerType, Serializable {
private byte[] code = null;
private VariableAccessSpecification variableAccessSpecification = null;
private ListOfAccessResult listOfAccessResult = null;
public InformationReport() {}
public InformationReport(byte[] code) {

@ -20,6 +20,7 @@ public class InitiateRequestPDU implements BerType, Serializable {
private Integer16 proposedMaxServOutstandingCalled = null;
private Integer8 proposedDataStructureNestingLevel = null;
private InitRequestDetail initRequestDetail = null;
public InitiateRequestPDU() {}
public InitiateRequestPDU(byte[] code) {

@ -20,6 +20,7 @@ public class InitiateResponsePDU implements BerType, Serializable {
private Integer16 negotiatedMaxServOutstandingCalled = null;
private Integer8 negotiatedDataStructureNestingLevel = null;
private InitResponseDetail initResponseDetail = null;
public InitiateResponsePDU() {}
public InitiateResponsePDU(byte[] code) {

@ -18,6 +18,7 @@ public class ObjectName implements BerType, Serializable {
private Identifier vmdSpecific = null;
private DomainSpecific domainSpecific = null;
private Identifier aaSpecific = null;
public ObjectName() {}
public ObjectName(byte[] code) {

@ -20,6 +20,7 @@ public class ReadResponse implements BerType, Serializable {
private byte[] code = null;
private VariableAccessSpecification variableAccessSpecification = null;
private ListOfAccessResult listOfAccessResult = null;
public ReadResponse() {}
public ReadResponse(byte[] code) {

@ -18,6 +18,7 @@ public class RejectPDU implements BerType, Serializable {
private byte[] code = null;
private Unsigned32 originalInvokeID = null;
private RejectReason rejectReason = null;
public RejectPDU() {}
public RejectPDU(byte[] code) {

@ -20,6 +20,7 @@ public class ServiceError implements BerType, Serializable {
private ErrorClass errorClass = null;
private BerInteger additionalCode = null;
private BerVisibleString additionalDescription = null;
public ServiceError() {}
public ServiceError(byte[] code) {

@ -32,7 +32,9 @@ public class TypeDescription implements BerType, Serializable {
private BerBoolean binaryTime = null;
private Integer32 mMSString = null;
private BerNull utcTime = null;
public TypeDescription() {}
public TypeDescription(byte[] code) {
this.code = code;
}
@ -626,6 +628,7 @@ public class TypeDescription implements BerType, Serializable {
private byte[] code = null;
private BerBoolean packed = null;
private Components components = null;
public Structure() {}
public Structure(byte[] code) {
@ -788,6 +791,7 @@ public class TypeDescription implements BerType, Serializable {
private static final long serialVersionUID = 1L;
private byte[] code = null;
private List<SEQUENCE> seqOf = null;
public Components() {
seqOf = new ArrayList<SEQUENCE>();
}

@ -19,6 +19,7 @@ public class VariableDefs implements BerType, Serializable {
private static final long serialVersionUID = 1L;
private byte[] code = null;
private List<SEQUENCE> seqOf = null;
public VariableDefs() {
seqOf = new ArrayList<SEQUENCE>();
}

@ -20,6 +20,7 @@ public class WriteRequest implements BerType, Serializable {
private byte[] code = null;
private VariableAccessSpecification variableAccessSpecification = null;
private ListOfData listOfData = null;
public WriteRequest() {}
public WriteRequest(byte[] code) {

@ -20,6 +20,7 @@ public class WriteResponse implements BerType, Serializable {
private static final long serialVersionUID = 1L;
private byte[] code = null;
private List<CHOICE> seqOf = null;
public WriteResponse() {
seqOf = new ArrayList<CHOICE>();
}

Loading…
Cancel
Save