diff --git a/app/build.gradle b/app/build.gradle index 9a09a09..3cd7f3e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -107,6 +107,7 @@ dependencies { implementation project(':feature:calendar') implementation project(':feature:contacts') implementation project(':feature:tasks') + implementation project(':feature:notes') implementation project(':feature:deck') implementation project(':feature:mail') implementation project(':feature:f7support') diff --git a/feature/notes/build.gradle b/feature/notes/build.gradle new file mode 100644 index 0000000..a9fd309 --- /dev/null +++ b/feature/notes/build.gradle @@ -0,0 +1,40 @@ +plugins { + id 'com.android.library' + id 'org.jetbrains.kotlin.android' + id 'org.jetbrains.kotlin.plugin.compose' +} + +android { + namespace 'ru.forbion.f7cloud.feature.notes' + compileSdk 36 + + defaultConfig { + minSdk 26 + } + buildFeatures { + compose true + } + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } + kotlinOptions { + jvmTarget = '17' + } +} + +dependencies { + implementation project(':core:auth') + implementation project(':core:network') + implementation project(':core:designsystem') + implementation libs.coroutines.android + def composeBom = platform(libs.compose.bom) + implementation composeBom + implementation libs.compose.ui + implementation libs.compose.material3 + implementation libs.compose.foundation + implementation libs.lifecycle.viewmodel.compose + implementation libs.coil.compose + implementation libs.coil.svg + testImplementation libs.junit +} diff --git a/feature/notes/src/main/AndroidManifest.xml b/feature/notes/src/main/AndroidManifest.xml new file mode 100644 index 0000000..b2d3ea1 --- /dev/null +++ b/feature/notes/src/main/AndroidManifest.xml @@ -0,0 +1,2 @@ + + diff --git a/feature/notes/src/main/java/ru/forbion/f7cloud/feature/notes/NotesModule.kt b/feature/notes/src/main/java/ru/forbion/f7cloud/feature/notes/NotesModule.kt new file mode 100644 index 0000000..e92feb6 --- /dev/null +++ b/feature/notes/src/main/java/ru/forbion/f7cloud/feature/notes/NotesModule.kt @@ -0,0 +1,9 @@ +package ru.forbion.f7cloud.feature.notes + +/** + * Скелет модуля «Заметки» (feature/notes), заведён лидом по пингу b-mob-notes «готов к + * регистрации» (mail/071/096). Реализация (Notes API v1 + ETag-кэш, план 1→2→3) — зона + * b-mob-notes. Пункт меню «Заметки» пока веб-ссылка; лид переключит на нативный экран по + * готовности read-only ядра. + */ +internal object NotesModule diff --git a/settings.gradle b/settings.gradle index 054830c..77e6495 100644 --- a/settings.gradle +++ b/settings.gradle @@ -29,6 +29,7 @@ include(":feature:talk-native") include(":feature:calendar") include(":feature:contacts") include(":feature:tasks") +include(":feature:notes") include(":feature:deck") include(":feature:mail") include(":feature:f7support")