Skip to content

Commit

Permalink
Set Java 8 as a target Java version
Browse files Browse the repository at this point in the history
  • Loading branch information
armay committed Apr 11, 2021
1 parent fc41c08 commit 94f2aba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
java-version: '8'
distribution: 'zulu'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
java-version: '8'
distribution: 'zulu'
- name: Install GPG signing key
run: |
cat <(echo -e "${{ secrets.GPG_SIGNING_KEY }}") | gpg --batch --import
Expand Down
10 changes: 8 additions & 2 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = "com.github.armay"
version = "0.0.1"
version = "0.0.2-SNAPSHOT"

plugins {
val dokkaVersion = "1.4.30"
Expand Down Expand Up @@ -88,10 +88,16 @@ tasks {
dependsOn(dokkaHtml)
from(dokkaHtml)
}
compileJava {
options.release.set(8)
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}

dependencies {
val jimfsVersion = "1.2"
val jimfsVersion = "1.1"
val okioVersion = "2.10.0"
api("com.squareup.okio:okio:$okioVersion")
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
Expand Down

0 comments on commit 94f2aba

Please sign in to comment.