Skip to content

Commit

Permalink
Composer Version Update Plus Minor gradle changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahidzbi4213 committed Sep 7, 2024
1 parent a9704c3 commit 6bc7906
Show file tree
Hide file tree
Showing 9 changed files with 92 additions and 22 deletions.
3 changes: 0 additions & 3 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 66 additions & 0 deletions .idea/other.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.jetbrains.kotlin.android) apply false
Expand Down
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-toolin
androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
androidx-lifecycle-viewmodel-android = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-android", version.ref = "lifecycleViewmodelAndroid" }



Expand Down
1 change: 1 addition & 0 deletions keystore.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
licenseKey=test
39 changes: 24 additions & 15 deletions reelsplayer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,34 +46,43 @@ android {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}

publishing {
singleVariant("release") {
withSourcesJar()
withJavadocJar()
}
}
}

dependencies {

//noinspection UseTomlInstead
implementation("androidx.lifecycle:lifecycle-runtime-compose-android:2.8.4")
implementation("androidx.lifecycle:lifecycle-viewmodel-compose-android:2.8.4")
implementation(platform("androidx.compose:compose-bom:2024.06.00"))
implementation("androidx.lifecycle:lifecycle-runtime-compose-android:2.8.5")
implementation("androidx.lifecycle:lifecycle-viewmodel-compose-android:2.8.5")
implementation(platform("androidx.compose:compose-bom:2024.09.00"))
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.material3:material3-android:1.2.1")
implementation("androidx.compose.material3:material3-android:1.3.0")

implementation("androidx.media3:media3-exoplayer:1.4.0")
implementation("androidx.media3:media3-ui:1.4.0")
implementation("androidx.media3:media3-exoplayer-hls:1.4.0")
implementation("androidx.media3:media3-exoplayer:1.4.1")
implementation("androidx.media3:media3-ui:1.4.1")
implementation("androidx.media3:media3-exoplayer-hls:1.4.1")


}

publishing {
publications {
create<MavenPublication>("release") {
groupId = "com.github.shahidzbi4213"
artifactId = "reels-player"
version = "2.0.0"

afterEvaluate {
publishing {
publications {
create<MavenPublication>("maven") {
afterEvaluate {
from(components["release"])
groupId = "com.github.shahidzbi4213"
artifactId = "reels-player"
version = "1.0.1"
}
}
}
}
}


Empty file removed reelsplayer/consumer-rules.pro
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import com.shahid.iqbal.reelsplayer.configs.ReelsConfigUtils.setPlayerAttributes
*/

@androidx.annotation.OptIn(UnstableApi::class)
@OptIn(ExperimentalFoundationApi::class)
@Composable
fun PageContent(
modifier: Modifier = Modifier,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ fun ReelsPlayer(

VerticalPager(state = pageState,
modifier = modifier,
beyondBoundsPageCount = 0,
beyondViewportPageCount = 0,
pageSpacing = pageSpacing,
contentPadding = contentPadding,
key = { videoList[it].toString() }) { page ->
Expand Down

0 comments on commit 6bc7906

Please sign in to comment.