Skip to content

Commit

Permalink
Try to build with Java 8
Browse files Browse the repository at this point in the history
Co-Authored-By: Jtfk <10415768+jtfk@users.noreply.github.com>
  • Loading branch information
ShareASmile and Jtfk committed Jan 26, 2025
1 parent 1f36736 commit 4d35ef7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ allprojects {
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'

sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

version 'v0.22.7.4'
group 'com.github.TeamNewPipe'
Expand Down Expand Up @@ -56,6 +56,7 @@ subprojects {
artifacts {
archives sourcesJar
}
java.withSourcesJar() // Patch - fix sources not published
}

// https://discuss.gradle.org/t/best-approach-gradle-multi-module-project-generate-just-one-global-javadoc/18657/21
Expand Down

0 comments on commit 4d35ef7

Please sign in to comment.