Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
anwarpro committed Oct 15, 2024
1 parent 812c041 commit abe08eb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
10 changes: 4 additions & 6 deletions actions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import java.net.URL
plugins {
alias(libs.plugins.kotlinMultiplatform)
alias(libs.plugins.androidLibrary)
alias(libs.plugins.dokka)
// alias(libs.plugins.dokka)
id("maven-publish")
id("com.vanniktech.maven.publish") version "0.29.0"
}
Expand Down Expand Up @@ -57,7 +57,7 @@ kotlin {
val desktopMain by getting

androidMain.dependencies {
implementation(libs.androidx.activity.compose)
// implementation(libs.androidx.activity.compose)
}
commonMain.dependencies {
implementation(libs.androidx.lifecycle.viewmodel)
Expand Down Expand Up @@ -99,9 +99,6 @@ android {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
buildFeatures {
compose = true
}
dependencies {

}
Expand Down Expand Up @@ -151,6 +148,7 @@ mavenPublishing {
signAllPublications()
}

/*
tasks.dokkaHtml {
outputDirectory.set(buildDir.resolve("dokka"))
dokkaSourceSets {
Expand All @@ -173,4 +171,4 @@ tasks.dokkaHtml.configure {
}
}
}
}
}*/
10 changes: 4 additions & 6 deletions network-actions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import java.net.URL
plugins {
alias(libs.plugins.kotlinMultiplatform)
alias(libs.plugins.androidLibrary)
alias(libs.plugins.dokka)
// alias(libs.plugins.dokka)
id("maven-publish")
id("com.vanniktech.maven.publish") version "0.29.0"
}
Expand Down Expand Up @@ -57,7 +57,7 @@ kotlin {
val desktopMain by getting

androidMain.dependencies {
implementation(libs.androidx.activity.compose)
// implementation(libs.androidx.activity.compose)
}
commonMain.dependencies {
implementation(libs.androidx.lifecycle.viewmodel)
Expand Down Expand Up @@ -100,9 +100,6 @@ android {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
buildFeatures {
compose = true
}
dependencies {

}
Expand Down Expand Up @@ -152,6 +149,7 @@ mavenPublishing {
signAllPublications()
}

/*
tasks.dokkaHtml {
outputDirectory.set(buildDir.resolve("dokka"))
dokkaSourceSets {
Expand All @@ -174,4 +172,4 @@ tasks.dokkaHtml.configure {
}
}
}
}
}*/
14 changes: 6 additions & 8 deletions network/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import java.net.URL
plugins {
alias(libs.plugins.kotlinMultiplatform)
alias(libs.plugins.androidLibrary)
alias(libs.plugins.dokka)
// alias(libs.plugins.dokka)
id("maven-publish")
id("com.vanniktech.maven.publish") version "0.29.0"
}
Expand Down Expand Up @@ -57,7 +57,7 @@ kotlin {
val desktopMain by getting

androidMain.dependencies {
implementation(libs.androidx.activity.compose)
// implementation(libs.androidx.activity.compose)
}
commonMain.dependencies {
implementation(libs.androidx.lifecycle.viewmodel)
Expand Down Expand Up @@ -99,9 +99,6 @@ android {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
buildFeatures {
compose = true
}
dependencies {

}
Expand Down Expand Up @@ -151,7 +148,7 @@ mavenPublishing {
signAllPublications()
}

tasks.dokkaHtml {
/*tasks.dokkaHtml {
outputDirectory.set(buildDir.resolve("dokka"))
dokkaSourceSets {
configureEach {
Expand All @@ -161,8 +158,9 @@ tasks.dokkaHtml {
}
}
}
}
}*/

/*
tasks.dokkaHtml.configure {
dokkaSourceSets {
named("commonMain") {
Expand All @@ -173,4 +171,4 @@ tasks.dokkaHtml.configure {
}
}
}
}
}*/

0 comments on commit abe08eb

Please sign in to comment.