Skip to content

Commit

Permalink
Merge pull request #198 from pknu-wap/android_main_test
Browse files Browse the repository at this point in the history
Android main test
  • Loading branch information
tgyuuAn authored Aug 5, 2023
2 parents e81e49f + 89a2623 commit 91535fa
Show file tree
Hide file tree
Showing 699 changed files with 28,419 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ lint/intermediates/
lint/generated/
lint/outputs/
lint/tmp/
# lint/reports/
# lint/reports/
3 changes: 3 additions & 0 deletions android/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions android/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions android/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 56 additions & 0 deletions android/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions android/.idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions android/.idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions android/.idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions android/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

65 changes: 65 additions & 0 deletions android/.idea/navEditor.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions android/apikey.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 이 파일은 .gitignore에 추가되어 있어서 git에 올라가지 않는다.
dataGoKrServiceKey=T2nJm9zlOA0Z7Dut%2BThT6Jp0Itn0zZw80AUP3uMdOWlZJR1gVPkx9p1t8etuSW1kWsSNrGGHKdxbwr1IUlt%2Baw%3D%3D
dataGoKrBaseUrl=https://apis.data.go.kr/1471000/
awsUrl=http://winocreative.synology.me:33000/
vertexEndpointUrl=https://us-central1-aiplatform.googleapis.com/v1/projects/balmy-nuance-380605/locations/us-central1/endpoints/1063583985826791424:predict
SIGNED_STORE_FILE=secretkey/medikey.jks
SIGNED_STORE_PASSWORD=pamspams1
SIGNED_KEY_ALIAS=medikey
SIGNED_KEY_PASSWORD=pamspams1
1 change: 1 addition & 0 deletions android/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
5 changes: 5 additions & 0 deletions android/app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## App module

* ### 구성
* MainActivty
* Application class
104 changes: 104 additions & 0 deletions android/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
import org.jetbrains.kotlin.konan.properties.Properties

plugins {
id("mediproject.android.application")
id("mediproject.android.hilt")
id("androidx.navigation.safeargs.kotlin")
alias(libs.plugins.gms)
alias(libs.plugins.firebase.crashlytics)
}

android {
signingConfigs {
val properties = Properties()
properties.load(project.rootProject.file("/apikey.properties").bufferedReader())
create("release") {
storeFile = project.rootProject.file(properties["SIGNED_STORE_FILE"] as String)
storePassword = properties["SIGNED_STORE_PASSWORD"] as String
keyAlias = properties["SIGNED_KEY_ALIAS"] as String
keyPassword = properties["SIGNED_KEY_PASSWORD"] as String
}
}

defaultConfig {
applicationId = "com.android.mediproject"
versionCode = 1
versionName = "1.0.0-alpha01"

vectorDrawables {
useSupportLibrary = true
}

buildTypes {
debug {

}
release {
isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro",
"proguard-glide.pro",
"proguard-okhttp3.pro",
"proguard-room.pro",
"proguard-retrofit2.pro")
signingConfig = signingConfigs.getByName("release")
}
}
}
namespace = "com.android.mediproject"

lint {
checkDependencies = true
ignoreTestSources = true
}

}

hilt {
enableAggregatingTask = true
}

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))

implementation(project(":core:common"))
implementation(project(":core:data"))
implementation(project(":core:ui"))
implementation(project(":core:model"))
implementation(project(":core:database"))
implementation(project(":core:domain"))
implementation(project(":core:network"))

implementation(project(":feature:interestedmedicine"))
implementation(project(":feature:home"))
implementation(project(":feature:intro"))
implementation(project(":feature:comments"))
implementation(project(":feature:search"))
implementation(project(":feature:mypage"))

implementation(project(":feature:setting"))
implementation(project(":feature:penalties"))
implementation(project(":feature:medicine"))
implementation(project(":feature:news"))
implementation(project(":feature:camera"))

implementation(libs.bundles.lifecycles)
implementation(libs.bundles.materials)
implementation(libs.bundles.composes)
implementation(libs.bundles.navigations)
implementation(libs.bundles.kotlins)
implementation(libs.bundles.workManagers)
implementation(libs.bundles.glides)
implementation(libs.androidx.splash)
kapt(libs.bundles.glides.kapt)

implementation(libs.firebase.crashlytics)
implementation(libs.firebase.analytics)

/*
androidTestImplementation(libs.bundles.testUIs)
testImplementation(libs.bundles.testUIs)
androidTestUtil(libs.androidx.test.orchestrator)
*/
}
Loading

0 comments on commit 91535fa

Please sign in to comment.