diff --git a/frontend/ARchive/app/build.gradle b/frontend/ARchive/app/build.gradle index 524795a3c..fd53ad5e9 100644 --- a/frontend/ARchive/app/build.gradle +++ b/frontend/ARchive/app/build.gradle @@ -6,6 +6,9 @@ plugins { id 'dagger.hilt.android.plugin' } +Properties properties = new Properties() +properties.load(project.rootProject.file('local.properties').newDataInputStream()) + android { namespace 'com.droidblossom.archive' compileSdk 33 @@ -18,6 +21,8 @@ android { versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + + manifestPlaceholders = [NAVER_CLIENT_ID: properties['naver_client_id']] } buildTypes { @@ -36,6 +41,7 @@ android { buildFeatures{ dataBinding = true viewBinding = true + buildConfig = true } } @@ -102,6 +108,9 @@ dependencies { //circleIndicator : https://github.com/ongakuer/CircleIndicator implementation 'me.relex:circleindicator:2.1.6' + + //네이버 지도 : https://navermaps.github.io/android-map-sdk/guide-ko/1.html + implementation 'com.naver.maps:map-sdk:3.17.0' } kapt { correctErrorTypes true diff --git a/frontend/ARchive/app/src/main/AndroidManifest.xml b/frontend/ARchive/app/src/main/AndroidManifest.xml index 4e78609d4..00b4f58d5 100644 --- a/frontend/ARchive/app/src/main/AndroidManifest.xml +++ b/frontend/ARchive/app/src/main/AndroidManifest.xml @@ -3,6 +3,8 @@ xmlns:tools="http://schemas.android.com/tools"> + + - + + + (R.layout.activi override val viewModel: Nothing? = null lateinit var viewBinding: ActivityMainBinding - override fun observeData() {} override fun onCreate(savedInstanceState: Bundle?) { diff --git a/frontend/ARchive/app/src/main/res/layout/fragment_home.xml b/frontend/ARchive/app/src/main/res/layout/fragment_home.xml index a6db732e5..e8549120f 100644 --- a/frontend/ARchive/app/src/main/res/layout/fragment_home.xml +++ b/frontend/ARchive/app/src/main/res/layout/fragment_home.xml @@ -25,6 +25,16 @@ android:background="@android:color/holo_green_dark" tools:context=".presentation.ui.home.HomeFragment"> + +