Pre-1.0.0 release prep.

This commit is contained in:
Erik C. Thauvin 2018-06-20 15:39:27 -07:00
parent 483f794966
commit 0f44c9fa27
8 changed files with 14 additions and 16 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="pinboard-poster:main" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="net.thauvin.erik" external.system.module.type="sourceSet" external.system.module.version="0.9.3" type="JAVA_MODULE" version="4"> <module external.linked.project.id="pinboard-poster:main" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="net.thauvin.erik" external.system.module.type="sourceSet" external.system.module.version="1.0.0" type="JAVA_MODULE" version="4">
<component name="FacetManager"> <component name="FacetManager">
<facet type="kotlin-language" name="Kotlin"> <facet type="kotlin-language" name="Kotlin">
<configuration version="3" platform="JVM 1.8" useProjectSettings="false"> <configuration version="3" platform="JVM 1.8" useProjectSettings="false">

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="pinboard-poster:test" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="net.thauvin.erik" external.system.module.type="sourceSet" external.system.module.version="0.9.3" type="JAVA_MODULE" version="4"> <module external.linked.project.id="pinboard-poster:test" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="net.thauvin.erik" external.system.module.type="sourceSet" external.system.module.version="1.0.0" type="JAVA_MODULE" version="4">
<component name="FacetManager"> <component name="FacetManager">
<facet type="kotlin-language" name="Kotlin"> <facet type="kotlin-language" name="Kotlin">
<configuration version="3" platform="JVM 1.8" useProjectSettings="false"> <configuration version="3" platform="JVM 1.8" useProjectSettings="false">

View file

@ -16,7 +16,7 @@ plugins {
} }
group = "net.thauvin.erik" group = "net.thauvin.erik"
version = "0.9.3" version = "1.0.0"
description = "Pinboard Poster for Kotlin/Java" description = "Pinboard Poster for Kotlin/Java"
val mavenUrl = "https://github.com/ethauvin/$name" val mavenUrl = "https://github.com/ethauvin/$name"
@ -36,6 +36,7 @@ application {
mainClassName = "net.thauvin.erik.pinboard.PinboardPosterKt" mainClassName = "net.thauvin.erik.pinboard.PinboardPosterKt"
} }
tasks { tasks {
withType(Test::class.java).all { withType(Test::class.java).all {
useTestNG() useTestNG()
@ -64,6 +65,7 @@ tasks {
// See https://github.com/Kotlin/dokka/issues/196 // See https://github.com/Kotlin/dokka/issues/196
externalDocumentationLink(delegateClosureOf<DokkaConfiguration.ExternalDocumentationLink.Builder> { externalDocumentationLink(delegateClosureOf<DokkaConfiguration.ExternalDocumentationLink.Builder> {
url = URL("https://docs.oracle.com/javase/8/docs/api/") url = URL("https://docs.oracle.com/javase/8/docs/api/")
packageListUrl = URL("https://docs.oracle.com/javase/8/docs/api/package-list")
}) })
includeNonPublic = false includeNonPublic = false
@ -150,8 +152,8 @@ tasks {
fun findProperty(s: String) = project.findProperty(s) as String? fun findProperty(s: String) = project.findProperty(s) as String?
bintray { bintray {
user = findProperty("bintrayUser") user = findProperty("bintray.user")
key = findProperty("bintrayApiKey") key = findProperty("bintray.apikey")
publish = true publish = true
setPublications(publicationName) setPublications(publicationName)
pkg.apply { pkg.apply {

View file

@ -23,7 +23,7 @@ val p = project {
group = "net.thauvin.erik" group = "net.thauvin.erik"
description = "Pinboard Poster for Kotlin/Java" description = "Pinboard Poster for Kotlin/Java"
artifactId = name artifactId = name
version = "0.9.3" version = "1.0.0"
pom = Model().apply { pom = Model().apply {
description = project.description description = project.description
@ -71,12 +71,6 @@ val p = project {
ignoreErrorStream = true ignoreErrorStream = true
} }
application {
taskName = "runJava"
mainClass = "net.thauvin.erik.pinboard.JavaExample"
ignoreErrorStream = true
}
install { install {
target = "deploy" target = "deploy"
include(from("kobaltBuild/libs"), to(target), glob("**/*")) include(from("kobaltBuild/libs"), to(target), glob("**/*"))

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="pinboard-poster" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="net.thauvin.erik" external.system.module.version="0.9.3" type="JAVA_MODULE" version="4"> <module external.linked.project.id="pinboard-poster" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="net.thauvin.erik" external.system.module.version="1.0.0" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true"> <component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output /> <exclude-output />
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">

View file

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>net.thauvin.erik</groupId> <groupId>net.thauvin.erik</groupId>
<artifactId>pinboard-poster</artifactId> <artifactId>pinboard-poster</artifactId>
<version>0.9.3</version> <version>1.0.0</version>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.jetbrains.kotlin</groupId> <groupId>org.jetbrains.kotlin</groupId>

View file

@ -8,9 +8,10 @@ defaultTasks 'run'
mainClassName = 'net.thauvin.erik.pinboard.samples.JavaExample' mainClassName = 'net.thauvin.erik.pinboard.samples.JavaExample'
dependencies { dependencies {
compile 'net.thauvin.erik:pinboard-poster:0.9.3' compile 'net.thauvin.erik:pinboard-poster:1.0.0'
} }
repositories { repositories {
mavenLocal()
jcenter() jcenter()
} }

View file

@ -8,7 +8,7 @@ plugins {
defaultTasks(ApplicationPlugin.TASK_RUN_NAME) defaultTasks(ApplicationPlugin.TASK_RUN_NAME)
dependencies { dependencies {
compile("net.thauvin.erik:pinboard-poster:0.9.3") compile("net.thauvin.erik:pinboard-poster:1.0.0")
} }
application { application {
@ -16,5 +16,6 @@ application {
} }
repositories { repositories {
mavenLocal()
jcenter() jcenter()
} }