plugins { id 'com.android.application' } android { flavorDimensions 'version' compileSdkVersion 30 buildToolsVersion "30.0.3" defaultConfig { applicationId "com.dbs.consent.ynu" minSdkVersion 26 targetSdkVersion 30 versionCode 1 versionName "1.0" // muiltiDexEnabled true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } signingConfigs { release { storeFile file('ynuConsent.jks') // 기준은 App 폴더 기준이다. storePassword "#3wnffkdl#" keyAlias "ynuConsent" keyPassword "#3wnffkdl#" } } buildTypes { release { // buildConfigField "String", "originalPackageName", "\"com.dbs.consent.ynu\"" buildConfigField "String", "NAME_SPACE", "\"http://tempuri.org/\"" minifyEnabled false proguardFile 'proguard-rules.pro' ndk { abiFilters "armeabi-v7a", "armeabi" // includes ARM SO files only, so no x86 SO file } // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } debug { buildConfigField "String", "NAME_SPACE", "\"http://tempuri.org/\"" minifyEnabled false proguardFile 'proguard-rules.pro' ndk { abiFilters "armeabi-v7a", "armeabi" // includes ARM SO files only, so no x86 SO file } } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } productFlavors { product { buildConfigField "String", "originalPackageName", "\"com.dbs.consent.ynu\"" buildConfigField "String", "CONSENT_SERVER_URL", "\"http://consentApi\"" buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"http://consentEformServer\"" buildConfigField "String", "INST_CD", "\"031\"" manifestPlaceholders = [appLabel: "영남대학교병원"] signingConfig signingConfigs.release } dev { applicationIdSuffix ".dev" buildConfigField "String", "originalPackageName", "\"com.dbs.consent.ynu\"" buildConfigField "String", "CONSENT_SERVER_URL", "\"http://172.27.1.51:8091/\"" // Local // buildConfigField "String", "CONSENT_SERVER_URL", "\"http://172.21.116.202/\"" // Local buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"http://172.27.1.51:8090\"" buildConfigField "String", "INST_CD", "\"031\"" manifestPlaceholders = [appLabel: "영남대학교병원 교육"] } } } repositories { maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/' } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.3.0' implementation 'com.google.android.material:material:1.3.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' implementation 'com.google.code.ksoap2-android:ksoap2-android:3.6.4' implementation 'com.github.ybq:Android-SpinKit:1.2.0' implementation 'gun0912.ted:tedpermission:2.0.0' implementation 'com.squareup.picasso:picasso:2.71828' implementation 'com.github.chrisbanes:PhotoView:2.0.0' implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'com.github.smart-fun:XmlToJson:1.5.1' }