Skip to content

Commit

Permalink
Demo -> 0.7.59
Browse files Browse the repository at this point in the history
  • Loading branch information
babyfish-ct committed May 10, 2023
1 parent c0c8af7 commit 34cc9ee
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 48 deletions.
8 changes: 4 additions & 4 deletions doc/docs/jimmer-core/draft.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ Due to the existence of Annotation Processor/KSP plugin in the gradle configurat
```groovy title="build.gradle"
dependencies {
implementation 'org.babyfish.jimmer:jimmer-core:0.7.57'
implementation 'org.babyfish.jimmer:jimmer-core:0.7.59'
// highlight-next-line
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.57'
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.59'
// This annotation processor generates source code
// for INTERFACEs marked by
// `@org.babyfish.jimmer.Immutable` or
Expand All @@ -84,9 +84,9 @@ plugins {
}
dependencies {

implementation("org.babyfish.jimmer:jimmer-core-kotlin:0.7.57")
implementation("org.babyfish.jimmer:jimmer-core-kotlin:0.7.59")
// highlight-next-line
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.57")
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.59")
// The ksp plugin generates source code
// for INTERFACEs marked by
// `@org.babyfish.jimmer.Immutable` or
Expand Down
16 changes: 8 additions & 8 deletions doc/docs/jimmer-core/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import TabItem from '@theme/TabItem';
```groovy title="build.gradle"
depdencies {
implementation 'org.babyfish.jimmer:jimmer-core:0.7.57'
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.57'
implementation 'org.babyfish.jimmer:jimmer-core:0.7.59'
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.59'
}
```

Expand All @@ -27,7 +27,7 @@ depdencies {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-core</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
</dependencies>

Expand All @@ -42,7 +42,7 @@ depdencies {
<path>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-apt</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand All @@ -64,10 +64,10 @@ plugins {
dependencies {

// Step2: Add jimmer-core-kotlin
implementation("org.babyfish.jimmer:jimmer-core-kotlin:0.7.57")
implementation("org.babyfish.jimmer:jimmer-core-kotlin:0.7.59")

// Step3: Apply ksp plugin
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.57")
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.59")
}

// Step4: Add generated sources into compile path.
Expand All @@ -87,7 +87,7 @@ kotlin {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-core-kotlin</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>

<build>
Expand Down Expand Up @@ -129,7 +129,7 @@ kotlin {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-ksp</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
</dependencies>
</plugin>
Expand Down
16 changes: 8 additions & 8 deletions doc/docs/jimmer-sql/basic/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ If you want more details on using jimmer in a non-spring environment, you can co
```groovy title="build.gradle"
depdencies {
implementation 'org.babyfish.jimmer:jimmer-sql:0.7.57'
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.57'
implementation 'org.babyfish.jimmer:jimmer-sql:0.7.59'
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.59'
runtimeOnly 'com.h2database:h2:2.1.212'
}
Expand All @@ -44,7 +44,7 @@ depdencies {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-sql</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand All @@ -65,7 +65,7 @@ depdencies {
<path>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-apt</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand All @@ -87,10 +87,10 @@ plugins {
depdencies {

// Step2: Add jimmer-sql-kotlin
implementation("org.babyfish.jimmer:jimmer-sql-kotlin:0.7.57")
implementation("org.babyfish.jimmer:jimmer-sql-kotlin:0.7.59")

// Step3: Apply ksp plugin
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.57")
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.59")

runtimeOnly("com.h2database:h2:2.1.212")

Expand All @@ -114,7 +114,7 @@ kotlin {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-sql-kotlin</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand Down Expand Up @@ -162,7 +162,7 @@ kotlin {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-ksp</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
</dependencies>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ interface TreeNode {
```groovy title="build.gradle"
dependencies {
implementation 'org.babyfish.jimmer:jimmer-core:0.7.57'
implementation 'org.babyfish.jimmer:jimmer-core:0.7.59'
// highlight-next-line
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.57'
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.59'
// This annotation processor generates source code
// for INTERFACEs marked by
// `@org.babyfish.jimmer.Immutable` or
Expand All @@ -84,9 +84,9 @@ plugins {
}
dependencies {

implementation("org.babyfish.jimmer:jimmer-core-kotlin:0.7.57")
implementation("org.babyfish.jimmer:jimmer-core-kotlin:0.7.59")
// highlight-next-line
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.57")
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.59")
// The ksp plugin generates source code
// for INTERFACEs marked by
// `@org.babyfish.jimmer.Immutable` or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import TabItem from '@theme/TabItem';
```groovy title="build.gradle"
depdencies {
implementation 'org.babyfish.jimmer:jimmer-core:0.7.57'
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.57'
implementation 'org.babyfish.jimmer:jimmer-core:0.7.59'
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.59'
runtimeOnly 'com.h2database:h2:2.1.212'
}
Expand All @@ -29,7 +29,7 @@ depdencies {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-core</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
</dependencies>

Expand All @@ -44,7 +44,7 @@ depdencies {
<path>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-apt</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand All @@ -66,10 +66,10 @@ plugins {
depdencies {

// 第二步: 添加jimmer-core-kotlin
implementation("org.babyfish.jimmer:jimmer-core-kotlin:0.7.57")
implementation("org.babyfish.jimmer:jimmer-core-kotlin:0.7.59")

// 第三步: 应用ksp插件
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.57")
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.59")

...ommit other dependency...
}
Expand All @@ -91,7 +91,7 @@ kotlin {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-core-kotlin</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>

<build>
Expand Down Expand Up @@ -133,7 +133,7 @@ kotlin {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-ksp</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
</dependencies>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jimmer-sql内容相对较多,后续文章会逐步讲解。本文对其部分
```groovy title="build.gradle"
depdencies {
implementation 'org.babyfish.jimmer:jimmer-sql:0.7.57'
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.57'
implementation 'org.babyfish.jimmer:jimmer-sql:0.7.59'
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.59'
runtimeOnly 'com.h2database:h2:2.1.212'
}
Expand All @@ -44,7 +44,7 @@ depdencies {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-sql</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand All @@ -65,7 +65,7 @@ depdencies {
<path>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-apt</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand All @@ -87,10 +87,10 @@ plugins {
depdencies {

// 第二步: 添加jimmer-sql-kotlin
implementation("org.babyfish.jimmer:jimmer-sql-kotlin:0.7.57")
implementation("org.babyfish.jimmer:jimmer-sql-kotlin:0.7.59")

// 第三步: 应用ksp插件
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.57")
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.59")

runtimeOnly("com.h2database:h2:2.1.212")

Expand All @@ -116,7 +116,7 @@ kotlin {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-sql-kotlin</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand Down Expand Up @@ -165,7 +165,7 @@ kotlin {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-ksp</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
</dependencies>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ title: 使用spring boot starter
```groovy title="build.gradle"
depdencies {
implementation 'org.babyfish.jimmer:jimmer-spring-boot-starter-:0.7.57'
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.57'
implementation 'org.babyfish.jimmer:jimmer-spring-boot-starter-:0.7.59'
annotationProcessor 'org.babyfish.jimmer:jimmer-apt:0.7.59'
runtimeOnly 'com.h2database:h2:2.1.212'
}
Expand All @@ -41,7 +41,7 @@ depdencies {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-spring-boot-starter</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand All @@ -62,7 +62,7 @@ depdencies {
<path>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-apt</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand All @@ -82,8 +82,8 @@ plugins {
}
depdencies {

implementation("org.babyfish.jimmer:jimmer-spring-boot-starter:0.7.57")
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.57")
implementation("org.babyfish.jimmer:jimmer-spring-boot-starter:0.7.59")
ksp("org.babyfish.jimmer:jimmer-ksp:0.7.59")

runtimeOnly("com.h2database:h2:2.1.212")

Expand All @@ -109,7 +109,7 @@ kotlin {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-spring-boot-starter</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand Down Expand Up @@ -158,7 +158,7 @@ kotlin {
<dependency>
<groupId>org.babyfish.jimmer</groupId>
<artifactId>jimmer-ksp</artifactId>
<version>0.7.57</version>
<version>0.7.59</version>
</dependency>
</dependencies>
</plugin>
Expand Down
11 changes: 11 additions & 0 deletions doc/src/components/Feedback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,16 @@ const ITEMS: ReadonlyArray<{
<li>能显著减少业务系统代码量</li>
</ul>
)
},
{
author: "Leon",
company: "个人开发者",
content: (
<ul>
<li>强类型DSL + 比Exposed更丰富强大的功能 -&gt; 开发体验与效率最大化</li>
<li>依赖于jimmer任意数据结构查询与保存能力,消灭了Mybatis手写sql的烦恼,同时还解决DTO爆炸的问题</li>
<li>缓存一致与透明,减少大量繁杂工作</li>
</ul>
)
}
];

0 comments on commit 34cc9ee

Please sign in to comment.