Skip to content

Commit

Permalink
Scaffold compat module for navigation (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
EdricChan03 committed Jul 13, 2024
1 parent de585e8 commit 36e22ca
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/compat/navigation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
29 changes: 29 additions & 0 deletions core/compat/navigation/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
plugins {
com.edricchan.studybuddy.library.android

kotlin("plugin.serialization")
}

android {
namespace = "com.edricchan.studybuddy.core.compat.navigation"

defaultConfig {
consumerProguardFiles("consumer-rules.pro")
}

buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
}

dependencies {
api(libs.androidx.navigation.runtime.ktx)

api(libs.kotlinx.serialization.core)
}
Empty file.
21 changes: 21 additions & 0 deletions core/compat/navigation/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ include(
":ui:widgets:modal-bottom-sheet",
":core:auth:ui:compose",
":core:auth:gms",
":core:compat:navigation",
":core:deeplink",
":core:di",
":core:resources",
Expand Down

0 comments on commit 36e22ca

Please sign in to comment.