Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion annotation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>online.sharedtype</groupId>
<artifactId>sharedtype-parent</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>0.14.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions build-tool-plugins/exec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>online.sharedtype</groupId>
<artifactId>sharedtype-parent</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>0.14.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>sharedtype-ap-exec</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>0.14.0-SNAPSHOT</version>
<name>SharedType Annotation Processor Executor</name>
<description>Call javac to execute annotation processing.</description>

Expand Down
2 changes: 1 addition & 1 deletion build-tool-plugins/gradle-plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version=0.13.1-SNAPSHOT
version=0.14.0-SNAPSHOT
mavenCentralPublishing=true
signAllPublications=true
2 changes: 1 addition & 1 deletion build-tool-plugins/gradle-plugin/it/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
projectVersion=0.13.1-SNAPSHOT
projectVersion=0.14.0-SNAPSHOT
2 changes: 1 addition & 1 deletion build-tool-plugins/maven-plugin/it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>online.sharedtype</groupId>
<artifactId>sharedtype-parent</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>0.14.0-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions build-tool-plugins/maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>online.sharedtype</groupId>
<artifactId>sharedtype-parent</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>0.14.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>sharedtype-maven-plugin</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>0.14.0-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
<name>SharedType Maven Plugin</name>

Expand Down
3 changes: 2 additions & 1 deletion doc/Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Menu:
Add Maven properties:
```xml
<properties>
<sharedtype.version>0.13.0</sharedtype.version>
<sharedtype.version>0.13.1</sharedtype.version>
</properties>
```

Expand Down Expand Up @@ -70,6 +70,7 @@ record User(String name, int age, String email) {}
Execute:
* maven: `./mvnw stype:gen`
* gradle: `./gradlew stypeGen`

(Why `stype`? Because it's easy to type while explicitly enough to remember.)

By default, below code will be generated:
Expand Down
2 changes: 1 addition & 1 deletion e2e/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>online.sharedtype</groupId>
<artifactId>sharedtype-parent</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>0.14.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion it/java17/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>online.sharedtype</groupId>
<artifactId>sharedtype-it-parent</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>0.14.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion it/java8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>online.sharedtype</groupId>
<artifactId>sharedtype-it-parent</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>0.14.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>online.sharedtype</groupId>
<artifactId>sharedtype-parent</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>0.14.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
5 changes: 3 additions & 2 deletions misc/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ printf '%s' "$NEW_VERSION" > NEW_VERSION.cache
# gradle plugin
cd build-tool-plugins/gradle-plugin || exit 1
./gradlew publishPlugins -Pversion="$version" -Pgradle.publish.key="$GRADLE_PUBLISH_KEY" -Pgradle.publish.secret="$GRADLE_PUBLISH_SECRET" --no-daemon
sed -i -E "s/^version=.*\$/version=$version/g" ./gradle.properties
sed -i -E "s/^projectVersion=.*\$/projectVersion=$version/g" ./it/gradle.properties
sed -i -E "s/^version=.*\$/version=$NEW_VERSION/g" ./gradle.properties
sed -i -E "s/^projectVersion=.*\$/projectVersion=$NEW_VERSION/g" ./it/gradle.properties
cd ../..
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>online.sharedtype</groupId>
<artifactId>sharedtype-parent</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>0.14.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>SharedType Parent</name>
Expand Down
2 changes: 1 addition & 1 deletion processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>online.sharedtype</groupId>
<artifactId>sharedtype-parent</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>0.14.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down