Cleaning and some optimizations

This commit is contained in:
2026-09-28 01:56:13 +00:00
parent 0201c7c277
commit 9918c823c2
19 changed files with 518 additions and 155 deletions
+42
View File
@@ -1,5 +1,11 @@
plugins {
id 'java-library'
id 'maven-publish'
}
java {
withSourcesJar()
withJavadocJar()
}
dependencies {
@@ -17,3 +23,39 @@ jar {
'Implementation-Version': archiveVersion
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
groupId = 'haus.nightmare.j3270'
artifactId = 'lib3270j'
version = project.version
pom {
name = 'lib3270j'
description = 'Pure Java IBM 3270 terminal emulation and protocol library with Host On-Demand (HOD) parity'
url = 'https://github.com/rudi/j3270'
licenses {
license {
name = 'The Unlicense'
url = 'https://unlicense.org/'
distribution = 'repo'
}
}
developers {
developer {
id = 'rudi'
name = 'Rudi'
}
}
scm {
connection = 'scm:git:git://github.com/rudi/j3270.git'
developerConnection = 'scm:git:ssh://github.com/rudi/j3270.git'
url = 'https://github.com/rudi/j3270'
}
}
}
}
}