Skip to content

Commit 89c5139

Browse files
authored
Add maven-publish and jitpack.yml (#24)
1 parent 0ab0974 commit 89c5139

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

cockroachdb-dialect/build.gradle.kts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
plugins {
22
alias(libs.plugins.grammar.kit.composer)
3+
`maven-publish`
4+
}
5+
6+
repositories {
7+
maven("https://jitpack.io")
38
}
49

510
grammarKit {
@@ -14,3 +19,14 @@ dependencies {
1419
testImplementation(libs.intellij.analysis)
1520
testImplementation(libs.sql.psi.test.fixtures)
1621
}
22+
23+
publishing {
24+
publications {
25+
create<MavenPublication>("maven") {
26+
groupId = "com.faire"
27+
artifactId = "sqldelight-cockroachdb-dialect"
28+
29+
from(components["java"])
30+
}
31+
}
32+
}

jitpack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jdk:
2+
- openjdk17

0 commit comments

Comments
 (0)