Skip to content

Commit

Permalink
chore: examples to kotlin 2.0.0 (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrevanveluw authored Jul 19, 2024
1 parent af8c1a4 commit c553ff5
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 9 deletions.
4 changes: 4 additions & 0 deletions examples/spring-boot-custom-maven-plugin/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.PHONY: *

build:
./mvnw clean package
4 changes: 4 additions & 0 deletions examples/spring-boot-maven-plugin/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.PHONY: *

build:
./mvnw clean package
4 changes: 4 additions & 0 deletions examples/spring-boot-openapi-maven-plugin/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.PHONY: *

build:
./mvnw clean package
2 changes: 1 addition & 1 deletion examples/spring-boot-openapi-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<description>Demo project for Wirespec</description>
<properties>
<java.version>17</java.version>
<kotlin.version>1.9.24</kotlin.version>
<kotlin.version>2.0.0</kotlin.version>
</properties>
<dependencies>
<dependency>
Expand Down
5 changes: 3 additions & 2 deletions examples/wirespec-gradle-plugin-ktor/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.gradle
.gradle/
.kotlin/
build/
!**/src/main/**/build/
!**/src/test/**/build/
Expand Down Expand Up @@ -32,4 +33,4 @@ out/
/.nb-gradle/

### VS Code ###
.vscode/
.vscode/
4 changes: 4 additions & 0 deletions examples/wirespec-gradle-plugin-ktor/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.PHONY: *

build:
./gradlew clean build
2 changes: 1 addition & 1 deletion examples/wirespec-gradle-plugin-ktor/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ val kotlin_version: String by project
val logback_version: String by project

plugins {
kotlin("jvm") version "1.9.24"
kotlin("jvm") version "2.0.0"
kotlin("plugin.serialization") version "2.0.0-RC3"
id("io.ktor.plugin") version "2.3.9"
id("community.flock.wirespec.plugin.gradle") version "0.0.0-SNAPSHOT"
Expand Down
2 changes: 1 addition & 1 deletion examples/wirespec-gradle-plugin-ktor/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ktor_version=2.3.9
kotlin_version=1.9.24
kotlin_version=2.0.0
logback_version=1.4.14
kotlin.code.style=official
8 changes: 4 additions & 4 deletions scripts/example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dir="$(dirname -- "$0")"
./gradlew src:plugin:gradle:publishToMavenLocal &&
./gradlew src:plugin:maven:publishToMavenLocal &&
# build examples
(cd "$dir"/../examples/wirespec-gradle-plugin-ktor && ./gradlew clean build) &&
(cd "$dir"/../examples/spring-boot-maven-plugin && ./mvnw clean package) &&
(cd "$dir"/../examples/spring-boot-custom-maven-plugin && ./mvnw clean package) &&
(cd "$dir"/../examples/spring-boot-openapi-maven-plugin && ./mvnw clean package)
(cd "$dir"/../examples/wirespec-gradle-plugin-ktor && make build) &&
(cd "$dir"/../examples/spring-boot-maven-plugin && make build) &&
(cd "$dir"/../examples/spring-boot-custom-maven-plugin && make build) &&
(cd "$dir"/../examples/spring-boot-openapi-maven-plugin && make build)

0 comments on commit c553ff5

Please sign in to comment.