build(ads): Daro 저장소와 의존성 구성을 추가한다
This commit is contained in:
@@ -1,5 +1,21 @@
|
||||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||
|
||||
buildscript {
|
||||
def localProperties = new Properties()
|
||||
def localPropertiesFile = rootProject.file('local.properties')
|
||||
|
||||
if (localPropertiesFile.exists()) {
|
||||
localPropertiesFile.withInputStream { stream ->
|
||||
localProperties.load(stream)
|
||||
}
|
||||
}
|
||||
|
||||
ext.daroAppKey = project.findProperty('daroAppKey')
|
||||
?: localProperties.getProperty('daroAppKey')
|
||||
?: System.getenv('DARO_APP_KEY')
|
||||
?: ''
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'org.jetbrains.kotlin.android'
|
||||
@@ -11,6 +27,7 @@ plugins {
|
||||
id 'org.jlleitschuh.gradle.ktlint'
|
||||
|
||||
id 'com.google.firebase.crashlytics'
|
||||
id 'so.daro.a'
|
||||
}
|
||||
|
||||
android {
|
||||
@@ -128,6 +145,7 @@ android {
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
coreLibraryDesugaringEnabled true
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
@@ -156,7 +174,7 @@ dependencies {
|
||||
}
|
||||
|
||||
// image library
|
||||
implementation "io.coil-kt:coil:1.4.0"
|
||||
implementation "io.coil-kt:coil:2.7.0"
|
||||
|
||||
// Koin DI
|
||||
implementation "io.insert-koin:koin-android:3.1.3"
|
||||
@@ -249,6 +267,10 @@ dependencies {
|
||||
exclude group: "org.jetbrains.kotlin", module: "kotlin-android-extensions-runtime"
|
||||
}
|
||||
|
||||
// Daro
|
||||
implementation 'so.daro:daro-a:1.5.3'
|
||||
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
|
||||
|
||||
// ----- Test dependencies -----
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
testImplementation 'org.mockito:mockito-core:5.20.0'
|
||||
|
||||
@@ -12,6 +12,7 @@ buildscript {
|
||||
dependencies {
|
||||
classpath 'com.google.android.gms:oss-licenses-plugin:0.10.6'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
classpath 'so.daro:daro-plugin:1.0.13'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,10 @@ dependencyResolutionManagement {
|
||||
mavenCentral()
|
||||
maven { url 'https://jitpack.io' }
|
||||
maven { url = "https://devrepo.kakao.com/nexus/content/groups/public/" }
|
||||
maven { url 'https://artifact.bytedance.com/repository/pangle' }
|
||||
maven { url 'https://cboost.jfrog.io/artifactory/chartboost-ads/' }
|
||||
maven { url 'https://android-sdk.is.com/' }
|
||||
maven { url 'https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_oversea' }
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user