Skip to content

Commit 17d00ac

Browse files
authored
Simplify Spring ViewComponent and remove ViewAction (#23)
* Removed ViewAction, Jte Compiler, AnnotationProcessor * All Examples work in local dev - Simplified paths in settings.gradle.kts for increased maintainability - Streamlined the ThymeleafViewComponentAutoConfiguration by using ViewComponentProperties - Updated README.md to reflect these changes - Added a new file, ViewComponentProperties.kt, to contain configuration properties * update readme * Update index view and test path configuration - Removed ActionViewComponent and NestedActionViewComponent links from index view in Thymeleaf, KTE, and Java examples. - Updated the external project path in the 'Run all example tests' configuration. * local dev for jte works * sace * compilation works in IntelliJ but not in jar * localdev and compilation works * Update project to version 0.8.0, clean up build scripts and configurations - Update the versions in the build scripts to use 0.8.0-SNAPSHOT - Clean up configurations by removing unnecessary annotation processor paths, includes, and properties - Comment out viewComponentRoot in the application.properties file - Remove unnecessary implementation dependencies in the dependencies blocks - Update README.md, removing outdated instructions and providing updated version information - Modify ViewComponent properties in JteConfiguration - Remove ViewComponent reference retrieval function in JteConfiguration - Remove unnecessary test dependency in Thymeleaf-Java - Remove unnecessary annotation processor paths - Update versions in xml files to match snapshot version - Modify TemplateEngine and TemplateResolver Beans in ThymeleafViewComponentAutoConfiguration * KTE is now independent from the jte module * remove jte-compiler from github workflow * fix maven config * Updated version from 0.8.0-SNAPSHOT to 0.8.0 In this commit, we have: - Updated the project version reference from a snapshot version to an official release version across multiple files - Adjusted artifact dependencies to point to the correct 0.8.0 version instead of the snapshot - Updated Maven dependency versions in README.md - Adjusted version properties in pom.xml for JTE and Thymeleaf examples - Fixed some minor formatting issues in README.md's XML snippets
1 parent ecb8ea6 commit 17d00ac

110 files changed

Lines changed: 698 additions & 2552 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@ jobs:
2020
cache-dependency-path: |
2121
thymeleaf/build.gradle.kts
2222
core/build.gradle.kts
23-
jte/jte/build.gradle.kts
24-
jte/jte-compiler/build.gradle.kts
25-
jte/kte/build.gradle.kts
23+
jte/build.gradle.kts
24+
kte/build.gradle.kts
2625
- name: make gradle executable
2726
run: chmod +x ./gradlew
2827
- name: publishToMavenLocal
29-
run: ./gradlew :thymeleaf:publishToMavenLocal :jte-compiler:publishToMavenLocal :jte:publishToMavenLocal :core:publishToMavenLocal :kte:publishToMavenLocal
28+
run: ./gradlew :thymeleaf:publishToMavenLocal :jte:publishToMavenLocal :core:publishToMavenLocal :kte:publishToMavenLocal
3029
- name: Cache local Maven repository
3130
uses: actions/cache@v4
3231
with:
@@ -149,9 +148,8 @@ jobs:
149148
cache-dependency-path: |
150149
thymeleaf/build.gradle.kts
151150
core/build.gradle.kts
152-
jte/jte/build.gradle.kts
153-
jte/jte-compiler/build.gradle.kts
154-
jte/kte/build.gradle.kts
151+
jte/build.gradle.kts
152+
kte/build.gradle.kts
155153
- name: Run chmod to make gradlew executable
156154
run: chmod +x ./gradlew
157155
- name: Publish thymeleaf package to staging
@@ -187,17 +185,6 @@ jobs:
187185
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }}
188186
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
189187
run: ./gradlew :kte:jreleaserDeploy -DaltDeploymentRepository=local::file:./jte/kte/build/staging-deploy --stacktrace
190-
- name: Publish jte-compiler package to staging
191-
run: ./gradlew :jte-compiler:publish
192-
- name: Publish jte package to maven central
193-
env:
194-
JRELEASER_NEXUS2_USERNAME: ${{ secrets.JRELEASER_NEXUS2_USERNAME }}
195-
JRELEASER_NEXUS2_PASSWORD: ${{ secrets.JRELEASER_NEXUS2_PASSWORD }}
196-
JRELEASER_GPG_PASSPHRASE: ${{ secrets.JRELEASER_GPG_PASSPHRASE }}
197-
JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }}
198-
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }}
199-
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
200-
run: ./gradlew :jte-compiler:jreleaserDeploy -DaltDeploymentRepository=local::file:./jte/jte-compiler/build/staging-deploy --stacktrace
201188
- name: Publish core package to staging
202189
run: ./gradlew :core:publish
203190
- name: Publish core package to maven central

.run/publishAll.run.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<option name="taskNames">
1212
<list>
1313
<option value=":thymeleaf:publishToMavenLocal" />
14-
<option value=":jte-compiler:publishToMavenLocal" />
1514
<option value=":jte:publishToMavenLocal" />
1615
<option value=":core:publishToMavenLocal" />
1716
<option value=":kte:publishToMavenLocal" />

0 commit comments

Comments
 (0)