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>
<orderEntry type="inheritedJdk" />
<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: org.jetbrains.kotlin:kotlin-stdlib:1.1.51" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.9.0" 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.2.50" 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: com.squareup.okio:okio:1.13.0" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.14.0" level="project" />
</component>
</module>

View file

@ -7,11 +7,12 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<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: org.jetbrains.kotlin:kotlin-stdlib:1.1.51" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.9.0" 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.2.50" 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: 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 name="TestModuleProperties" production-module="samples-java_main" />
</module>

View file

@ -12,7 +12,7 @@
<option name="addCompilerBuiltIns" value="true" />
<option name="loadBuiltInsFromDependencies" value="true" />
<option name="languageVersion" value="1.2" />
<option name="apiVersion" value="1.1" />
<option name="apiVersion" value="1.2" />
<option name="pluginOptions">
<array />
</option>
@ -31,10 +31,11 @@
</content>
<orderEntry type="inheritedJdk" />
<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: org.jetbrains.kotlin:kotlin-stdlib:1.1.51" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.9.0" 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.2.50" 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: com.squareup.okio:okio:1.13.0" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.14.0" level="project" />
</component>
</module>

View file

@ -12,7 +12,7 @@
<option name="addCompilerBuiltIns" value="true" />
<option name="loadBuiltInsFromDependencies" value="true" />
<option name="languageVersion" value="1.2" />
<option name="apiVersion" value="1.1" />
<option name="apiVersion" value="1.2" />
<option name="pluginOptions">
<array />
</option>
@ -30,11 +30,12 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<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: org.jetbrains.kotlin:kotlin-stdlib:1.1.51" level="project" />
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.9.0" 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.2.50" 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: 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 name="TestModuleProperties" production-module="samples-koltin_main" />
</module>

View file

@ -6,7 +6,6 @@ import org.jetbrains.dokka.gradle.DokkaTask
import java.net.URL
plugins {
application
kotlin("jvm") version "1.2.50"
java
`maven-publish`
@ -19,7 +18,8 @@ group = "net.thauvin.erik"
version = "1.0.0"
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"
dependencies {
@ -32,11 +32,6 @@ repositories {
jcenter()
}
application {
mainClassName = "net.thauvin.erik.pinboard.PinboardPosterKt"
}
tasks {
withType(Test::class.java).all {
useTestNG()
@ -130,10 +125,15 @@ tasks {
}
appendNode("scm").apply {
appendNode("connection", "$mavenUrl.git")
appendNode("developerConnection", "git@github.com:ethauvin/${project.name}.git")
appendNode("connection", "scm:git:$mavenUrl.git")
appendNode("developerConnection", "scm:git:git@github.com:${gitHub}.git")
appendNode("url", mavenUrl)
}
appendNode("issueManagement").apply {
appendNode("system", "GitHub")
appendNode("url", "$mavenUrl/issues")
}
}
}
}
@ -149,7 +149,7 @@ tasks {
pom.copyTo(File("pom.xml"), true)
}
}
fun findProperty(s: String) = project.findProperty(s) as String?
bintray {
user = findProperty("bintray.user")
@ -162,7 +162,7 @@ tasks {
desc = description
websiteUrl = mavenUrl
issueTrackerUrl = "$mavenUrl/issues"
githubRepo = "ethauvin/${project.name}"
githubRepo = gitHub
githubReleaseNotesFile = "README.md"
vcsUrl = "$mavenUrl.git"
setLabels("kotlin", "java", "pinboard", "poster", "bookmarks")

View file

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