Skip to content

Commit

Permalink
ci: add job to run tests using Kotlin 2 (#364)
Browse files Browse the repository at this point in the history
* docs: fix broken links

* ci: add job to run tests using Kotlin 2

* ci: use Kotlin 2.0.20
  • Loading branch information
marcospereira authored Oct 2, 2024
1 parent b097448 commit fd8f002
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
run: chmod +x ./mvnw
- name: Build with Maven
run: ./mvnw install --file pom.xml
- name: Test Kotlin 2.0
run: ./mvnw test --file pom.xml --projects jte-kotlin --also-make --activate-profiles kotlin-2.0
- name: Build Gradle Plugin
run: cd jte-gradle-plugin && ./gradlew publishToMavenLocal
- name: Run all the Gradle Plugin tests
Expand Down
9 changes: 9 additions & 0 deletions jte-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,13 @@
</plugins>
</build>

<profiles>
<profile>
<id>kotlin-2.0</id>
<properties>
<kotlin.version>2.0.20</kotlin.version>
</properties>
</profile>
</profiles>

</project>

0 comments on commit fd8f002

Please sign in to comment.