Cleaning and some optimizations
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user