diff --git a/build-logic/build.gradle.kts b/build-logic/build.gradle.kts index 275fbe9..f377ceb 100644 --- a/build-logic/build.gradle.kts +++ b/build-logic/build.gradle.kts @@ -11,6 +11,7 @@ repositories { dependencies { implementation(libs.vespene) + implementation(libs.kotlin.coroutines.core) implementation(libs.android.gradle.plugin) implementation(libs.kotlin.gradle.plugin) } diff --git a/build-logic/src/main/kotlin/io/openfeedback/OpenFeedback.kt b/build-logic/src/main/kotlin/io/openfeedback/OpenFeedback.kt index 13a064c..565c943 100644 --- a/build-logic/src/main/kotlin/io/openfeedback/OpenFeedback.kt +++ b/build-logic/src/main/kotlin/io/openfeedback/OpenFeedback.kt @@ -1,11 +1,7 @@ package io.openfeedback -import com.android.build.gradle.internal.tasks.factory.dependsOn -import io.openfeedback.extensions.* import io.openfeedback.extensions.configurePublishingInternal import org.gradle.api.Project -import org.gradle.api.logging.LogLevel -import org.gradle.api.tasks.PathSensitivity open class OpenFeedback(val project: Project) { fun Project.configurePublishing(artifactName: String) { diff --git a/build-logic/src/main/kotlin/io/openfeedback/extensions/ProjectExt.kt b/build-logic/src/main/kotlin/io/openfeedback/extensions/ProjectExt.kt index 6cf71a1..9d6bbcd 100644 --- a/build-logic/src/main/kotlin/io/openfeedback/extensions/ProjectExt.kt +++ b/build-logic/src/main/kotlin/io/openfeedback/extensions/ProjectExt.kt @@ -93,7 +93,6 @@ fun Project.getOrCreateRepoUrl(): Provider { return getOrCreateRepoId().map { "${baseUrl}staging/deployByRepositoryId/$it/" } } -@OptIn(ExperimentalTime::class) fun Task.closeAndReleaseStagingRepository(repoId: String) { runBlocking { logger.log(LogLevel.LIFECYCLE, "Closing repository $repoId")