Skip to content

Commit

Permalink
Merge branch 'fix/jdk_21_compilation' into minor
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanheise committed Jul 17, 2024
2 parents 193112c + e484086 commit eb92889
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
4 changes: 4 additions & 0 deletions just_audio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.9.40

* Fix JDK 21 compile error.

## 0.9.39

* Apply preferPreciseDurationAndTiming to files (@canxin121).
Expand Down
2 changes: 1 addition & 1 deletion just_audio/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
group 'com.ryanheise.just_audio'
version '1.0'
def args = ["-Xlint:deprecation","-Xlint:unchecked","-Werror"]
def args = ["-Xlint:deprecation","-Xlint:unchecked"]

buildscript {
repositories {
Expand Down
15 changes: 8 additions & 7 deletions just_audio/example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ allprojects {
google()
mavenCentral()
}

gradle.projectsEvaluated{
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation"
options.compilerArgs << "-Xlint:unchecked"
}
}
}

rootProject.buildDir = '../build'
Expand All @@ -34,3 +27,11 @@ subprojects {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}

gradle.projectsEvaluated {
project(":just_audio") {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Werror"
}
}
}
2 changes: 1 addition & 1 deletion just_audio/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: just_audio
description: A feature-rich audio player for Flutter. Loop, clip and concatenate any sound from any source (asset/file/URL/stream) in a variety of audio formats with gapless playback.
version: 0.9.39
version: 0.9.40
repository: https://github.com/ryanheise/just_audio/tree/minor/just_audio
issue_tracker: https://github.com/ryanheise/just_audio/issues
topics:
Expand Down

0 comments on commit eb92889

Please sign in to comment.