Skip to content

Commit

Permalink
add publishing task
Browse files Browse the repository at this point in the history
  • Loading branch information
breandan committed Nov 30, 2019
1 parent b07dabd commit b2b7343
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import org.jetbrains.intellij.tasks.RunIdeTask
import org.jetbrains.intellij.tasks.*
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

tasks {
Expand All @@ -16,6 +16,10 @@ tasks {
dependsOn("test")
findProperty("luginDev")?.let { args = listOf(projectDir.absolutePath) }
}

withType<PublishTask> {
token(project.findProperty("jbr.token") as String? ?: System.getenv("JBR_TOKEN"))
}
}

plugins {
Expand Down

0 comments on commit b2b7343

Please sign in to comment.