From c215aa94fa2450985d1e11f35e09cc1f0a3978e7 Mon Sep 17 00:00:00 2001 From: kangyuri1114 Date: Tue, 10 Sep 2024 14:35:10 +0900 Subject: [PATCH] feat: dokka setting test --- .github/workflows/release.yml | 15 +++++++++++++++ compose/build.gradle.kts | 1 + gradle/libs.versions.toml | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..c6ef07d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,15 @@ +# 파일 경로명 +name: release + +# 언제 실행될 것인지 +on: + +# push: +# branches: [ main ] + +# 실행할 job +jobs: + runs-on: ubuntu-latest + + steps: + - run: ./gradlew dokkaHtml \ No newline at end of file diff --git a/compose/build.gradle.kts b/compose/build.gradle.kts index 02b93fe..58c4e2a 100644 --- a/compose/build.gradle.kts +++ b/compose/build.gradle.kts @@ -1,6 +1,7 @@ plugins { alias(libs.plugins.android.library) alias(libs.plugins.jetbrains.kotlin.android) + alias(libs.plugins.jetbrains.dokka) } android { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1c58896..7f46794 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -32,4 +32,4 @@ androidx-foundation-android = { group = "androidx.compose.foundation", name = "f android-application = { id = "com.android.application", version.ref = "agp" } jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } android-library = { id = "com.android.library", version.ref = "agp" } - +jetbrains-dokka = { id = "org.jetbrains.dokka", version = "1.9.20" }