Skip to content

Commit

Permalink
Enable K2 in Dokka and fix unknown references warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Dec 17, 2024
1 parent e77047c commit 34c1731
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ detekt.use.worker.api=true
# https://kotlinlang.org/docs/dokka-migration.html#migrate-your-project
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn=true
org.jetbrains.dokka.experimental.tryK2=true
org.jetbrains.dokka.experimental.tryK2.nowarn=true
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,21 @@ package ch.srgssr.pillarbox.player.session
import android.app.PendingIntent
import androidx.annotation.IntRange
import androidx.media3.common.MediaItem
import androidx.media3.common.MediaMetadata
import androidx.media3.session.LibraryResult
import androidx.media3.session.MediaLibraryService
import androidx.media3.session.MediaLibraryService.MediaLibrarySession
import androidx.media3.session.MediaSession
import androidx.media3.session.SessionError
import ch.srgssr.pillarbox.player.PillarboxPlayer
import ch.srgssr.pillarbox.player.session.PillarboxMediaLibrarySession.Builder
import ch.srgssr.pillarbox.player.utils.PendingIntentUtils
import com.google.common.collect.ImmutableList
import com.google.common.util.concurrent.Futures
import com.google.common.util.concurrent.ListenableFuture

/**
* An extended [PillarboxMediaSession] for the [PillarboxMediaLibraryService].
* Build an instance with [Builder] and return it from [PillarboxMediaLibraryService.onGetPillarboxSession]
* or [PillarboxMediaLibraryService.onGetSession] with [PillarboxMediaLibrarySession.mediaSession].
* Build an instance with [Builder] and return it from [PillarboxMediaLibraryService.onGetSession] with [PillarboxMediaLibrarySession.mediaSession].
*
* @see MediaLibrarySession
* @see PillarboxMediaLibraryService
Expand Down

0 comments on commit 34c1731

Please sign in to comment.