Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to 243 with Gradle 8 and IDEA Plugin 2.0 #100

Closed
phodal opened this issue Sep 24, 2024 · 0 comments
Closed

Migration to 243 with Gradle 8 and IDEA Plugin 2.0 #100

phodal opened this issue Sep 24, 2024 · 0 comments

Comments

@phodal
Copy link
Owner

phodal commented Sep 24, 2024

in IntelliJ Platform 2024.3

JSON Plugin (new) 2024.3

It means:

com.intellij.json.* class removed, become com.intellij.modules.json.*

图片

new module name: com.intellij.modules.json

Intellij IDEA Gradle Plugin 2.0

https://github.com/HaxeFoundation/intellij-haxe/blob/develop/build.gradle.kts

phodal added a commit that referenced this issue Sep 24, 2024
…guage support #100

This commit updates the IntelliJ platform version to 243 and the idea version to IU-2024.3 in the gradle-243.properties file. It also adds support for the shire-json language in the build.gradle.kts file. Other changes include enabling Gradle Configuration Cache and Build Cache, and updating the Gradle version to 8.7.
phodal added a commit that referenced this issue Sep 24, 2024
…e-json module #100

This commit moves all JSON related functionalities from the core module to a new module named shire-json. This includes moving and renaming several files, updating import statements, and modifying build.gradle.kts to include the new module in the dependencies. This change is aimed at improving the modularity and organization of the codebase.
phodal added a commit that referenced this issue Sep 24, 2024
phodal added a commit that referenced this issue Sep 24, 2024
phodal added a commit that referenced this issue Sep 24, 2024
@phodal phodal changed the title JSON Plugin migration for 243 Migration to 243 with Gradle 8 and IDEA Plugin 2.0 Sep 24, 2024
phodal added a commit that referenced this issue Sep 24, 2024
Updated the Gradle version from 8.7 to 8.10 in gradle.properties. Also, increased the JVM memory allocation for Kotlin daemon and Gradle from 2048m to 2g. In build.gradle.kts, uncommented and enabled the PatchPluginXmlTask block which sets the plugin description, changelog, and change notes.
phodal added a commit that referenced this issue Sep 24, 2024
phodal added a commit that referenced this issue Sep 24, 2024
phodal added a commit that referenced this issue Sep 25, 2024
…#100

The build process for the plugin has been simplified by removing unnecessary steps and directories. The project name in the IntelliJ platform configuration has been updated to use the basePluginArchiveName. Additionally, the buildSearchableOptions flag has been set to false to prevent the generation of searchable options.
phodal added a commit that referenced this issue Sep 25, 2024
Updated the build.gradle.kts file to specifically configure certain subprojects excluding ":languages" and ":toolsets". Also added pluginVerifier() to the intellijPlatform configuration.
phodal added a commit that referenced this issue Sep 25, 2024
…pendencies #100

Moved all custom SSE related classes from `com.phodal.shire.custom.sse` to `com.phodal.shirecore.custom.sse` package in the core module. Added new dependencies for JSON path, OkHttp, OkHttp SSE, RxJava, and Jackson in `build.gradle.kts`. Also, updated import statements and message bundle references in various files to reflect the new package structure.
phodal added a commit that referenced this issue Sep 25, 2024
phodal added a commit that referenced this issue Sep 25, 2024
phodal added a commit that referenced this issue Sep 25, 2024
Changed the plugin id from "com.github.phodal.shire" to "com.phodal.shire" in the build configuration.
phodal added a commit that referenced this issue Sep 25, 2024
phodal added a commit that referenced this issue Sep 25, 2024
…#100

Updated the IntelliJ IDEA version in gradle properties and added plugin verification in the build.gradle.kts file. Also, added dependencies for jsonPlugin and org.jetbrains.kotlin.
phodal added a commit that referenced this issue Sep 25, 2024
The kotlin files in the shire-json module were incorrectly placed in a subdirectory named '241'. This commit moves them to the correct 'main' directory. Also, some files have been renamed for better clarity and organization.
phodal added a commit that referenced this issue Sep 25, 2024
Refactored the GitRepositoryCommitter class to improve handling of commit staging and commit message creation. This includes better error handling for GPG signing issues and empty commit problems. Also, cleaned up imports and adjusted code formatting for better readability.
phodal added a commit that referenced this issue Sep 25, 2024
The failureLevel setting in the pluginVerification block of the build.gradle.kts file has been commented out. This change will prevent the build from failing due to missing dependencies.
@phodal phodal closed this as completed Sep 25, 2024
phodal added a commit that referenced this issue Sep 25, 2024
…eferences #100

Moved SHIRE_ENV_ID, MODEL_TITLE, and MODEL_LIST constants to a companion object in ShireEnvironmentIndex.kt. Updated all references to these constants in other files. Also, refactored LlmEnv from an object to a class with a companion object. Modified build.gradle.kts to adjust
phodal added a commit that referenced this issue Sep 25, 2024
The commit adds a dependency on the IntelliJ JSON plugin in the Shire JSON project. This is done by modifying the plugin.xml file and the build.gradle.kts file. The JSON plugin is only added if the IntelliJ platform version is 243.
@phodal phodal reopened this Sep 26, 2024
phodal added a commit that referenced this issue Sep 26, 2024
phodal added a commit that referenced this issue Sep 26, 2024
phodal added a commit that referenced this issue Sep 26, 2024
phodal added a commit that referenced this issue Sep 26, 2024
…cessor #100

The commit introduces support for multiple tokenizer types in the TokenizerProcessor class. It now handles regex, word, naming, and stopwords tokenizers. The default tokenizer is set to WordTokenizer.
@phodal phodal closed this as completed Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant