mirror of
https://github.com/AppleCommander/bastools.git
synced 2024-12-22 14:29:22 +00:00
013790a610
Bumps [junit:junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.2. - [Release notes](https://github.com/junit-team/junit4/releases) - [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md) - [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.2) --- updated-dependencies: - dependency-name: junit:junit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
82 lines
1.9 KiB
Groovy
82 lines
1.9 KiB
Groovy
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
apply plugin: 'java-library'
|
|
apply plugin: 'maven'
|
|
apply plugin: 'signing'
|
|
|
|
dependencies {
|
|
testImplementation 'junit:junit:4.13.2'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes(
|
|
'Implementation-Title': 'B/BAS Tools API',
|
|
'Implementation-Version': "${project.version} (${new Date().format('yyyy-MM-dd HH:mm')})"
|
|
)
|
|
}
|
|
}
|
|
|
|
task javadocJar(type: Jar) {
|
|
classifier = 'javadoc'
|
|
from javadoc
|
|
}
|
|
|
|
task sourcesJar(type: Jar) {
|
|
classifier = 'sources'
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
artifacts {
|
|
archives javadocJar, sourcesJar
|
|
}
|
|
|
|
signing {
|
|
// Only sign if we're uploading...
|
|
required { gradle.taskGraph.hasTask("uploadArchives") }
|
|
sign configurations.archives
|
|
}
|
|
|
|
uploadArchives {
|
|
repositories {
|
|
mavenDeployer {
|
|
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
|
|
|
|
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
|
|
authentication(userName: findProperty('ossrhUsername'), password: findProperty('ossrhPassword'))
|
|
}
|
|
|
|
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
|
|
authentication(userName: findProperty('ossrhUsername'), password: findProperty('ossrhPassword'))
|
|
}
|
|
|
|
pom.project {
|
|
name archivesBaseName
|
|
packaging 'jar'
|
|
description 'An Applesoft BASIC tools library.'
|
|
url 'https://applecommander.github.io/'
|
|
|
|
scm {
|
|
url 'https://github.com/AppleCommander/bastools'
|
|
}
|
|
|
|
licenses {
|
|
license {
|
|
name 'The GNU General Public License (GPL) Version 3, 29 June 2007'
|
|
url 'https://www.gnu.org/licenses/gpl-3.0.html'
|
|
}
|
|
}
|
|
|
|
developers {
|
|
developer {
|
|
id 'robgreene'
|
|
email 'robgreene@gmail.com'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|