diff --git a/README.md b/README.md index 83a29f0..8786ac5 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,8 @@ - [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=enaium.jimmer-dto-lsp-vscode): Install the extension from the marketplace - [IntelliJ IDEA](https://plugins.jetbrains.com/plugin/26045-jimmer-dto-lsp): Install the plugin from the marketplace -- Eclipse: First install new software [LSP4E](https://download.eclipse.org/lsp4e/releases/latest/) and then move the plugin +- Eclipse: First install new software [LSP4E](https://download.eclipse.org/lsp4e/releases/latest/) and then move the + plugin to the `dropins` folder - Other IDEs: Install the LSP server from the release page @@ -64,4 +65,30 @@ - `target/classes` Maven Java or Kotlin - `build/tmp/kotlin-classes/debug` Gradle Android Kotlin - `build/intermediates/javac/debug/classes` Gradle Android Java -- `build/intermediates/javac/debug/compileDebugJavaWithJavac/classes` Gradle Android Java \ No newline at end of file +- `build/intermediates/javac/debug/compileDebugJavaWithJavac/classes` Gradle Android Java + +If you want to add a new jar classpath, you can add it to the `dependencies.json` file in the LSP server +directory(`/jimmer-dto-lsp`). + +In Windows your path should be like this: + +```json +{ + "x:\\path\\to\\your\\jar": [ + "C:\\path\\to\\your\\jar" + ] +} +``` + +In Linux or MacOS your path should be like this: + +```json +{ + "/path/to/your/jar": [ + "/path/to/your/jar" + ] +} +``` + +If you want to add a new jar classpath automatically, you can use +the [jimmer-gradle](https://github.com/Enaium/jimmer-gradle) plugin. \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 31402da..518b76f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ kotlin.code.style=official -version=1.3.1 +version=1.4.0 \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 6006028..07659c0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ intellij = "2.1.0" lsp4j = "0.23.1" jimmer = "0.9.34" shadow = "9.0.0-beta2" -jakartaValidation = "3.1.0" +jackson = "2.18.2" [libraries] lsp4j = { module = "org.eclipse.lsp4j:org.eclipse.lsp4j", version.ref = "lsp4j" } @@ -13,7 +13,7 @@ jimmer-core = { module = "org.babyfish.jimmer:jimmer-core", version.ref = "jimme jimmer-coreKotlin = { module = "org.babyfish.jimmer:jimmer-core-kotlin", version.ref = "jimmer" } jimmer-sql = { module = "org.babyfish.jimmer:jimmer-sql", version.ref = "jimmer" } jimmer-sqlKotlin = { module = "org.babyfish.jimmer:jimmer-sql-kotlin", version.ref = "jimmer" } -jakarta-validation = { module = "jakarta.validation:jakarta.validation-api", version.ref = "jakartaValidation" } +jackson = { module = "com.fasterxml.jackson.core:jackson-databind", version.ref = "jackson" } [plugins] kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } diff --git a/intellij/src/main/resources/META-INF/plugin.xml b/intellij/src/main/resources/META-INF/plugin.xml index 30fdad5..44298b2 100644 --- a/intellij/src/main/resources/META-INF/plugin.xml +++ b/intellij/src/main/resources/META-INF/plugin.xml @@ -8,6 +8,8 @@ Change notes +

1.4.0

+

1.3.1