Skip to content

Commit

Permalink
Add justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
igr committed Jun 9, 2023
1 parent 81e9887 commit 77572ce
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ out
.qodana
build
libs
.env
.env
certificate
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ tasks {
}

signPlugin {
certificateChain = environment("CERTIFICATE_CHAIN")
privateKey = environment("PRIVATE_KEY")
certificateChainFile.set(file("certificate/chain.crt"))
privateKeyFile.set(file("certificate/private.pem"))
password = environment("PRIVATE_KEY_PASSWORD")
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ annotations = "24.0.1"
dokka = "1.8.10"
kotlin = "1.8.21"
changelog = "2.0.0"
gradleIntelliJPlugin = "1.13.3"
gradleIntelliJPlugin = "1.14.1"
qodana = "0.1.13"
kover = "0.6.1"

Expand Down
18 changes: 18 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
set dotenv-load

# just displays the receipes
default:
@just --list

# build the plugin
build:
./gradlew buildPlugin

# sign the plugin
## requires enviroment variabels and certificates to be set
sign: build
./gradlew signPlugin

# publish the plugin
publish: sign
./gradlew publishPlugin

0 comments on commit 77572ce

Please sign in to comment.