-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
557 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 43 additions & 12 deletions
55
packages/mongodb-access-adapter/datagrip-access-adapter/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,53 @@ | ||
|
||
|
||
repositories { | ||
maven("https://www.jetbrains.com/intellij-repository/releases/") | ||
maven("https://packages.jetbrains.team/maven/p/ij/intellij-dependencies") | ||
} | ||
|
||
plugins { | ||
alias(libs.plugins.intellij) | ||
} | ||
|
||
|
||
tasks { | ||
named("test", Test::class) { | ||
environment("TESTCONTAINERS_RYUK_DISABLED", "true") | ||
val homePath = project.layout.buildDirectory.dir("idea-sandbox/config-test").get().asFile.absolutePath | ||
|
||
jvmArgs(listOf( | ||
"--add-opens=java.base/java.lang=ALL-UNNAMED", | ||
"--add-opens=java.desktop/java.awt=ALL-UNNAMED", | ||
"--add-opens=java.desktop/javax.swing=ALL-UNNAMED", | ||
"--add-opens=java.desktop/sun.awt=ALL-UNNAMED", | ||
"-Dpolyglot.engine.WarnInterpreterOnly=false", | ||
"-Dpolyglot.log.level=OFF", | ||
"-Didea.home.path=${homePath}" | ||
)) | ||
} | ||
} | ||
|
||
intellij { | ||
version.set(libs.versions.intellij.min) // Target IDE Version | ||
type.set(libs.versions.intellij.type) // Target IDE Platform | ||
|
||
plugins.set(listOf("com.intellij.java", "com.intellij.database")) | ||
} | ||
|
||
dependencies { | ||
implementation(libs.gson) | ||
implementation(libs.mongodb.driver) | ||
implementation(project(":packages:mongodb-access-adapter")) | ||
|
||
compileOnly(libs.testing.intellij.ideImpl) | ||
compileOnly(libs.testing.intellij.coreUi) | ||
compileOnly("com.jetbrains.intellij.database:database-sql:241.15989.150") | ||
compileOnly("com.jetbrains.intellij.database:database-connectivity:241.15989.150") | ||
compileOnly("com.jetbrains.intellij.database:database-core-impl:241.15989.150") { | ||
exclude("com.jetbrains.fus.reporting", "ap-validation") | ||
testImplementation("com.jetbrains.intellij.platform:test-framework-junit5:241.15989.155") { | ||
exclude("ai.grazie.spell") | ||
exclude("ai.grazie.utils") | ||
exclude("ai.grazie.nlp") | ||
exclude("ai.grazie.model") | ||
exclude("org.jetbrains.teamcity") | ||
} | ||
compileOnly("com.jetbrains.intellij.database:database-jdbc-console:241.15989.150") | ||
compileOnly("com.jetbrains.intellij.database:database:241.15989.150") | ||
compileOnly("com.jetbrains.intellij.platform:images:241.15989.157") | ||
compileOnly("com.jetbrains.intellij.grid:grid-impl:241.15989.150") | ||
compileOnly("com.jetbrains.intellij.grid:grid:241.15989.150") | ||
compileOnly("com.jetbrains.intellij.grid:grid-core-impl:241.15989.150") | ||
|
||
testImplementation(libs.testing.testContainers.core) | ||
testImplementation(libs.testing.testContainers.jupiter) | ||
testImplementation(libs.testing.testContainers.mongodb) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 0 additions & 53 deletions
53
.../main/kotlin/com/mongodb/jbplugin/accessadapter/datagrip/adapter/DataGripMongoDBDriver.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.