Skip to content

Commit

Permalink
fix(java-version): add java 8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasfara committed Oct 15, 2022
1 parent 24e9aa4 commit c0c28dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
alias(libs.plugins.ktlint)
alias(libs.plugins.publish.central)
alias(libs.plugins.publish)
alias(libs.plugins.conventional.commits)
// alias(libs.plugins.conventional.commits) TODO("remove after publishing for java 8 as target")
}

group = "it.nicolasfarabegoli"
Expand All @@ -26,6 +26,10 @@ repositories {
gradlePluginPortal()
}

java {
targetCompatibility = JavaVersion.VERSION_1_8
}

dependencies {
api(kotlin("stdlib"))
api(gradleApi())
Expand Down

0 comments on commit c0c28dd

Please sign in to comment.