빌드 환경
라이브러리 구성
디펜던시
프로젝트 내 libs 폴더에 aar 파일 추가
// 없으면 추가합니다.
repositories {
flatDir{
dirs 'libs'
}
}
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.5' // gson
implementation 'org.bitcoinj:bitcoinj-core:0.15.6' // base58
// Zxing QR/Bar Code Reader
implementation group: 'com.journeyapps', name: 'zxing-android-embedded', version: '3.6.0'
// Encrypted SharedPreference
implementation 'androidx.security:security-crypto:1.0.0-rc01'
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
implementation 'com.madgag.spongycastle:prov:1.58.0.0'
implementation("com.nimbusds:nimbus-jose-jwt:8.19")
{
exclude module: 'jcip-annotations'
}
// DID AAR 적용
implementation name: 'HDIDClientSDK_vX.X.X', ext: 'aar'
}