Added issueManagement to pom.

Removed application tasks (moved to samples).
This commit is contained in:
Erik C. Thauvin 2018-06-21 11:28:51 -07:00
parent bf804992e9
commit 189344db37
6 changed files with 39 additions and 31 deletions

View file

@ -8,10 +8,11 @@
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Gradle: net.thauvin.erik:pinboard-poster:0.9.3" level="project" /> <orderEntry type="library" name="Gradle: net.thauvin.erik:pinboard-poster:1.0.0" level="project" />
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.1.51" level="project" /> <orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.2.50" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.9.0" level="project" /> <orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.10.0" level="project" />
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib-common:1.2.50" level="project" />
<orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" /> <orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.13.0" level="project" /> <orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.14.0" level="project" />
</component> </component>
</module> </module>

View file

@ -7,11 +7,12 @@
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="samples-java_main" /> <orderEntry type="module" module-name="samples-java_main" />
<orderEntry type="library" name="Gradle: net.thauvin.erik:pinboard-poster:0.9.3" level="project" /> <orderEntry type="library" name="Gradle: net.thauvin.erik:pinboard-poster:1.0.0" level="project" />
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.1.51" level="project" /> <orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.2.50" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.9.0" level="project" /> <orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.10.0" level="project" />
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib-common:1.2.50" level="project" />
<orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" /> <orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.13.0" level="project" /> <orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.14.0" level="project" />
</component> </component>
<component name="TestModuleProperties" production-module="samples-java_main" /> <component name="TestModuleProperties" production-module="samples-java_main" />
</module> </module>

View file

@ -12,7 +12,7 @@
<option name="addCompilerBuiltIns" value="true" /> <option name="addCompilerBuiltIns" value="true" />
<option name="loadBuiltInsFromDependencies" value="true" /> <option name="loadBuiltInsFromDependencies" value="true" />
<option name="languageVersion" value="1.2" /> <option name="languageVersion" value="1.2" />
<option name="apiVersion" value="1.1" /> <option name="apiVersion" value="1.2" />
<option name="pluginOptions"> <option name="pluginOptions">
<array /> <array />
</option> </option>
@ -31,10 +31,11 @@
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Gradle: net.thauvin.erik:pinboard-poster:0.9.3" level="project" /> <orderEntry type="library" name="Gradle: net.thauvin.erik:pinboard-poster:1.0.0" level="project" />
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.1.51" level="project" /> <orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.2.50" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.9.0" level="project" /> <orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.10.0" level="project" />
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib-common:1.2.50" level="project" />
<orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" /> <orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.13.0" level="project" /> <orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.14.0" level="project" />
</component> </component>
</module> </module>

View file

@ -12,7 +12,7 @@
<option name="addCompilerBuiltIns" value="true" /> <option name="addCompilerBuiltIns" value="true" />
<option name="loadBuiltInsFromDependencies" value="true" /> <option name="loadBuiltInsFromDependencies" value="true" />
<option name="languageVersion" value="1.2" /> <option name="languageVersion" value="1.2" />
<option name="apiVersion" value="1.1" /> <option name="apiVersion" value="1.2" />
<option name="pluginOptions"> <option name="pluginOptions">
<array /> <array />
</option> </option>
@ -30,11 +30,12 @@
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="samples-koltin_main" /> <orderEntry type="module" module-name="samples-koltin_main" />
<orderEntry type="library" name="Gradle: net.thauvin.erik:pinboard-poster:0.9.3" level="project" /> <orderEntry type="library" name="Gradle: net.thauvin.erik:pinboard-poster:1.0.0" level="project" />
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.1.51" level="project" /> <orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.2.50" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.9.0" level="project" /> <orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.10.0" level="project" />
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib-common:1.2.50" level="project" />
<orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" /> <orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.13.0" level="project" /> <orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.14.0" level="project" />
</component> </component>
<component name="TestModuleProperties" production-module="samples-koltin_main" /> <component name="TestModuleProperties" production-module="samples-koltin_main" />
</module> </module>

View file

@ -6,7 +6,6 @@ import org.jetbrains.dokka.gradle.DokkaTask
import java.net.URL import java.net.URL
plugins { plugins {
application
kotlin("jvm") version "1.2.50" kotlin("jvm") version "1.2.50"
java java
`maven-publish` `maven-publish`
@ -19,7 +18,8 @@ group = "net.thauvin.erik"
version = "1.0.0" version = "1.0.0"
description = "Pinboard Poster for Kotlin/Java" description = "Pinboard Poster for Kotlin/Java"
val mavenUrl = "https://github.com/ethauvin/$name" val gitHub = "ethauvin/$name"
val mavenUrl = "https://github.com/$gitHub"
val deployDir = "deploy" val deployDir = "deploy"
dependencies { dependencies {
@ -32,11 +32,6 @@ repositories {
jcenter() jcenter()
} }
application {
mainClassName = "net.thauvin.erik.pinboard.PinboardPosterKt"
}
tasks { tasks {
withType(Test::class.java).all { withType(Test::class.java).all {
useTestNG() useTestNG()
@ -130,10 +125,15 @@ tasks {
} }
appendNode("scm").apply { appendNode("scm").apply {
appendNode("connection", "$mavenUrl.git") appendNode("connection", "scm:git:$mavenUrl.git")
appendNode("developerConnection", "git@github.com:ethauvin/${project.name}.git") appendNode("developerConnection", "scm:git:git@github.com:${gitHub}.git")
appendNode("url", mavenUrl) appendNode("url", mavenUrl)
} }
appendNode("issueManagement").apply {
appendNode("system", "GitHub")
appendNode("url", "$mavenUrl/issues")
}
} }
} }
} }
@ -162,7 +162,7 @@ tasks {
desc = description desc = description
websiteUrl = mavenUrl websiteUrl = mavenUrl
issueTrackerUrl = "$mavenUrl/issues" issueTrackerUrl = "$mavenUrl/issues"
githubRepo = "ethauvin/${project.name}" githubRepo = gitHub
githubReleaseNotesFile = "README.md" githubReleaseNotesFile = "README.md"
vcsUrl = "$mavenUrl.git" vcsUrl = "$mavenUrl.git"
setLabels("kotlin", "java", "pinboard", "poster", "bookmarks") setLabels("kotlin", "java", "pinboard", "poster", "bookmarks")

View file

@ -35,8 +35,12 @@
</developer> </developer>
</developers> </developers>
<scm> <scm>
<connection>https://github.com/ethauvin/pinboard-poster.git</connection> <connection>scm:git:https://github.com/ethauvin/pinboard-poster.git</connection>
<developerConnection>git@github.com:ethauvin/pinboard-poster.git</developerConnection> <developerConnection>scm:git:git@github.com:ethauvin/pinboard-poster.git</developerConnection>
<url>https://github.com/ethauvin/pinboard-poster</url> <url>https://github.com/ethauvin/pinboard-poster</url>
</scm> </scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/ethauvin/pinboard-poster/issues</url>
</issueManagement>
</project> </project>