Skip to content

Commit

Permalink
Release 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoutanov committed Jul 18, 2022
1 parent 5a32e6d commit dbef9e0
Showing 1 changed file with 66 additions and 2 deletions.
68 changes: 66 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
buildscript {
plugins {
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
}

nexusPublishing {
repositories {
mavenCentral()
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
username = findProperty('sonatype.username')
password = findProperty('sonatype.password')
}
}
}

group 'com.obsidiandynamics.pojotester'
version '0.9.0'

ext {
JUNIT_JUPITER_VERSION = "5.4.0"
JUNIT_PLATFORM_VERSION = "1.4.0"
Expand Down Expand Up @@ -45,4 +57,56 @@ dependencies {
testImplementation("org.apiguardian:apiguardian-api:1.0.0")
testImplementation("org.junit.jupiter:junit-jupiter-engine:${JUNIT_JUPITER_VERSION}") { changing = true }
testImplementation("org.slf4j:slf4j-nop:1.7.26")
}

//TODO reinstate
//test {
// useJUnitPlatform()
//}

apply plugin: 'maven-publish'
apply plugin: 'signing'

//TODO remove when Javadoc errors have been resolved
javadoc.options.addStringOption('Xdoclint:none', '-quiet')

java {
withJavadocJar()
withSourcesJar()
}

signing {
sign publishing.publications
}

publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'core'
from components.java
pom {
name = 'pojo-tester'
description = 'POJO testing library'
url = 'https://github.com/obsidiandynamics/pojo-tester'
licenses {
license {
name = 'MIT License'
url = 'https://opensource.org/licenses/MIT'
}
}
developers {
developer {
id = 'ekoutanov'
name = 'Emil Koutanov'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:git://github.com/obsidiandynamics/pojo-tester.git'
developerConnection = 'scm:git:ssh://github.com/obsidiandynamics/pojo-tester.git'
url = 'https://github.com/obsidiandynamics/pojo-tester'
}
}
}
}
}

0 comments on commit dbef9e0

Please sign in to comment.