refactor: Restructure project, enhance ActionField and DTOField generation
This commit refactors the project structure by moving generator-related classes to a new package (`com.sdk.generators.actionmodels`) and standardizing template directory names (`src/main/resources/templates`). It introduces new FreeMarker templates (`actionDTO.ftl`, `actionDTO.extend.ftl`) and corresponding logic in `GeneratorServices.java` to support the generation of Data Transfer Object (DTO) classes alongside ActionBeans. The changes also involve enhancements related to `ActionField` and `DTOField` generation. Updates to `build.gradle.kts`, `plugin.xml`, and Gradle wrapper files reflect these structural and functional enhancements.
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
plugins {
|
||||
id("java")
|
||||
id("org.jetbrains.kotlin.jvm") version "2.1.0"
|
||||
id("org.jetbrains.intellij.platform") version "2.6.0"
|
||||
id("org.jetbrains.intellij.platform") version "2.7.0"
|
||||
}
|
||||
|
||||
|
||||
group = "com.sdk.actionbean.generator"
|
||||
version = "1.0-SNAPSHOT"
|
||||
group = "com.sdk.generators.actionmodels"
|
||||
version = "1.0.4"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@@ -26,8 +25,8 @@ dependencies {
|
||||
bundledPlugin("com.intellij.java")
|
||||
bundledPlugin("com.intellij.database")
|
||||
|
||||
implementation("org.freemarker:freemarker:2.3.32")
|
||||
}
|
||||
}
|
||||
implementation("org.freemarker:freemarker:2.3.32")
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user