123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- plugins {
- id 'com.android.application'
- id 'kotlin-android'
- }
- android {
- compileSdkVersion 30
- buildToolsVersion "30.0.3"
- defaultConfig {
- flavorDimensions 'version'
- applicationId "com.dbs.consent.ynu"
- minSdkVersion 26
- targetSdkVersion 30
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- signingConfigs {
- release {
- storeFile file('ynuConsent.jks') // 기준은 App 폴더 기준이다.
- storePassword "#3wnffkdl#"
- keyAlias "ynuConsent"
- keyPassword "#3wnffkdl#"
- }
- }
- buildTypes {
- release {
- 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
- }
- }
- }
- productFlavors {
- product {
- buildConfigField "String", "originalPackageName", "\"com.dbs.consent.ynuConsent\""
- buildConfigField "String", "CONSENT_SERVER_URL", "\"http://consentApi\""
- buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"http://consentEformServer\""
- buildConfigField "String", "INST_CD", "\"123\""
- manifestPlaceholders = [appLabel: "영남대학교병원"]
- signingConfig signingConfigs.release
- }
- dev {
- applicationIdSuffix ".dev"
- buildConfigField "String", "originalPackageName", "\"com.dbs.consent.ynuConsent\""
- // buildConfigField "String", "CONSENT_SERVER_URL", "\"http://localhost\""
- // buildConfigField "String", "CONSENT_SERVER_URL", "\"http://172.16.10.194/\"" // Local
- buildConfigField "String", "CONSENT_SERVER_URL", "\"http://172.21.116.202/\"" // Local
- buildConfigField "String", "CONSENT_EFORM_SERVER_URL", "\"http://locahostConsentEformServer\""
- buildConfigField "String", "INST_CD", "\"031\""
- manifestPlaceholders = [appLabel: "영남대학교병원 교육"]
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- }
- repositories {
- maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/' }
- }
- dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- implementation 'androidx.core:core-ktx:1.3.1'
- implementation 'androidx.appcompat:appcompat:1.3.0'
- implementation 'com.google.android.material:material:1.3.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'com.github.ybq:Android-SpinKit:1.4.0'
- implementation 'gun0912.ted:tedpermission:2.0.0'
- implementation 'com.squareup.picasso:picasso:2.71828'
- implementation 'com.github.chrisbanes:PhotoView:2.0.0'
- implementation 'com.github.smart-fun:XmlToJson:1.5.1'
- implementation 'androidx.recyclerview:recyclerview:1.2.1'
- implementation 'androidx.recyclerview:recyclerview-selection:1.1.0'
- implementation 'com.google.code.ksoap2-android:ksoap2-android:3.6.4'
- // implementation 'com.squareup.retrofit2:retrofit:2.9.0'
- // implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
- // implementation 'com.squareup.okhttp3:okhttp:3.4.1'
- // implementation 'com.squareup.okhttp3:logging-interceptor:3.4.1'
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- }
|