Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ val javaTarget = JvmTarget.fromTarget(libs.versions.jvmTarget.get())
kotlin {
version = "1.0.1"

applyDefaultHierarchyTemplate()

android {
// If this is the same com.lagradost.cloudstream3.R stops working
namespace = "com.lagradost.api"
Expand Down Expand Up @@ -73,15 +75,15 @@ kotlin {
implementation(libs.kotlin.test)
}

// We will eventually add a new jvmCommonMain source set
// for things shared between Android and JVM.
androidMain.dependencies {
implementation(libs.newpipeextractor)
val jvmCommonMain by creating {
dependsOn(commonMain.get())
dependencies {
implementation(libs.newpipeextractor)
}
}

jvmMain.dependencies {
implementation(libs.newpipeextractor)
}
androidMain { dependsOn(jvmCommonMain) }
jvmMain { dependsOn(jvmCommonMain) }
}
}

Expand Down

This file was deleted.