Skip to content

Commit

Permalink
Add way to upload plugin to local maven repo
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelmarhic committed Jan 2, 2020
1 parent e4ee43a commit 6c978b9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea/
build/
.gradle/
mavenrepo/
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.61"
id "maven"
}

repositories {
Expand Down Expand Up @@ -30,3 +31,11 @@ compileTestKotlin {

group = "com.gaelmarhic"
version = "1.0"

uploadArchives {
repositories {
mavenDeployer {
repository(url: uri('mavenrepo'))
}
}
}

0 comments on commit 6c978b9

Please sign in to comment.