Skip to content

Commit

Permalink
Remove some dependencies on intellij (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriel-M committed Jul 10, 2023
1 parent 89c5139 commit 9cb716b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 0 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,7 @@ allprojects {

repositories {
mavenCentral()
maven("https://www.jetbrains.com/intellij-repository/releases")
maven("https://cache-redirector.jetbrains.com/intellij-dependencies")
maven("https://maven.pkg.jetbrains.space/public/p/ktor/eap")
maven("https://packages.jetbrains.team/maven/p/dpgpv/maven")
gradlePluginPortal()
}
}

Expand Down
7 changes: 4 additions & 3 deletions cockroachdb-dialect/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ grammarKit {
}

dependencies {
compileOnly(libs.intellij.analysis)
implementation(libs.intellij.util)
compileOnly(libs.sqldelight.compiler.env)
api(libs.sqldelight.postgresql.dialect)

testImplementation(libs.intellij.analysis)
testImplementation(libs.sql.psi.test.fixtures)
testImplementation(libs.sql.psi.test.fixtures) {
exclude(group = "com.jetbrains.intellij.platform")
}
}

publishing {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ sql-psi = "0.4.5"
[libraries]
assertj-core = { module = "org.assertj:assertj-core", version = "3.11.1" }
intellij-analysis = { module = "com.jetbrains.intellij.platform:analysis-impl", version.ref = "idea" }
intellij-util = { module = "com.jetbrains.intellij.platform:util", version.ref = "idea" }
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
kotlin-test-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
postgres-jdbc-driver = { module = "org.postgresql:postgresql", version = "42.5.4" }
sql-psi-test-fixtures = { module = "com.alecstrong.sql.psi:test-fixtures", version.ref = "sql-psi" }
sqldelight-compiler-env = { module = "app.cash.sqldelight:compiler-env", version.ref = "sqldelight" }
sqldelight-jdbc-driver = { module = "app.cash.sqldelight:jdbc-driver", version.ref = "sqldelight" }
sqldelight-postgresql-dialect = { module = "app.cash.sqldelight:postgresql-dialect", version.ref = "sqldelight" }
testcontainers-cockroachdb = { module = "org.testcontainers:cockroachdb", version = "1.18.3" }
Expand Down

0 comments on commit 9cb716b

Please sign in to comment.