diff --git a/app/build.gradle b/app/build.gradle index e08c1fc..1a9fbb4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 @@ -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 { @@ -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' } \ No newline at end of file