Merge pull request #26

action
This commit was merged in pull request #26.
This commit is contained in:
2021-03-20 15:01:30 +01:00
committed by GitHub
2 changed files with 25 additions and 2 deletions

23
.github/workflows/gradle.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: CI
on:
push:
branches: [ action, master ]
pull_request:
branches: [ action, master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- uses: eskatos/gradle-command-action@v1
with:
gradle-version: 6.8
arguments: test

View File

@@ -30,11 +30,11 @@ tasks.withType<KotlinCompile> {
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "11"
}
val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "11"
}
tasks.test {