62 lines
1.6 KiB
Groovy
62 lines
1.6 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
java {
|
|
withSourcesJar()
|
|
withJavadocJar()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Implementation-Title': 'lib3270j',
|
|
'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'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|