Skip to content

Commit

Permalink
Feat: 리뷰생성 S3 이미지 파일 연결 #59
Browse files Browse the repository at this point in the history
- 민감정보 설정 및 s3 빌드 설정
  • Loading branch information
yujeongkimm committed May 27, 2023
1 parent b841b42 commit fd7abd2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ plugins {
id 'kotlin-android-extensions'
}

// 선언 및 key 값 가져오기
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())

android {
compileSdk 32

Expand All @@ -15,6 +19,12 @@ android {
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

//
buildConfigField "String", "bucketName", properties['bucketName']
buildConfigField "String", "accessKey", properties['accessKey']
buildConfigField "String", "secretKey", properties['secretKey']

}

buildTypes {
Expand Down Expand Up @@ -80,4 +90,9 @@ dependencies {
// tensoorflow-lite
implementation 'org.tensorflow:tensorflow-lite:2.4.0'
implementation 'org.tensorflow:tensorflow-lite-support:0.1.0'

// S3
implementation 'com.amazonaws:aws-android-sdk-mobile-client:2.13.5'
implementation 'com.amazonaws:aws-android-sdk-cognito:2.13.5'
implementation 'com.amazonaws:aws-android-sdk-s3:2.16.0'
}

0 comments on commit fd7abd2

Please sign in to comment.