Skip to content

Commit

Permalink
Add maven-publish and jitpack.yml (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriel-M committed Jul 10, 2023
1 parent 0ab0974 commit 89c5139
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cockroachdb-dialect/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
plugins {
alias(libs.plugins.grammar.kit.composer)
`maven-publish`
}

repositories {
maven("https://jitpack.io")
}

grammarKit {
Expand All @@ -14,3 +19,14 @@ dependencies {
testImplementation(libs.intellij.analysis)
testImplementation(libs.sql.psi.test.fixtures)
}

publishing {
publications {
create<MavenPublication>("maven") {
groupId = "com.faire"
artifactId = "sqldelight-cockroachdb-dialect"

from(components["java"])
}
}
}
2 changes: 2 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
jdk:
- openjdk17

0 comments on commit 89c5139

Please sign in to comment.