init commit
This commit is contained in:
@@ -0,0 +1,110 @@
|
||||
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
|
||||
plugins {
|
||||
alias(libs.plugins.androidApplication)
|
||||
alias(libs.plugins.kotlinAndroid)
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.ea.games.nfs13_na"
|
||||
compileSdk = 34
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.ea.games.nfs13_na"
|
||||
minSdk = 21
|
||||
targetSdk = 34
|
||||
versionCode = 1
|
||||
versionName = "1.0"
|
||||
|
||||
buildConfigField( "String", "DEV_MENU_VERSION", "\"0.1\"")
|
||||
buildConfigField( "String", "DEV_MENU_ID", "\"DevMenu\"")
|
||||
|
||||
ndk.abiFilters.add("armeabi-v7a")
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
useSupportLibrary = true
|
||||
}
|
||||
}
|
||||
ndkVersion = "21.0.6113669"
|
||||
|
||||
packaging {
|
||||
resources.excludes.add("META-INF/DEPENDENCIES")
|
||||
resources.excludes.add("META-INF/LICENSE")
|
||||
resources.excludes.add("META-INF/LICENSE.txt")
|
||||
resources.excludes.add("META-INF/license.txt")
|
||||
resources.excludes.add("META-INF/NOTICE")
|
||||
resources.excludes.add("META-INF/NOTICE.txt")
|
||||
resources.excludes.add("META-INF/notice.txt")
|
||||
resources.excludes.add("META-INF/ASL2.0")
|
||||
resources.excludes.add("META-INF/*.kotlin_module")
|
||||
}
|
||||
|
||||
android.buildFeatures.buildConfig = true
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = "11"
|
||||
}
|
||||
buildFeatures {
|
||||
compose = true
|
||||
}
|
||||
composeOptions {
|
||||
kotlinCompilerExtensionVersion = "1.5.1"
|
||||
}
|
||||
packaging {
|
||||
resources {
|
||||
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation(libs.core.ktx)
|
||||
implementation(libs.lifecycle.runtime.ktx)
|
||||
implementation(libs.activity.compose)
|
||||
implementation(platform(libs.compose.bom))
|
||||
implementation(libs.ui)
|
||||
implementation(libs.ui.graphics)
|
||||
implementation(libs.ui.tooling.preview)
|
||||
implementation(libs.material3)
|
||||
testImplementation(libs.junit)
|
||||
androidTestImplementation(libs.androidx.test.ext.junit)
|
||||
androidTestImplementation(libs.espresso.core)
|
||||
androidTestImplementation(platform(libs.compose.bom))
|
||||
androidTestImplementation(libs.ui.test.junit4)
|
||||
debugImplementation(libs.ui.tooling)
|
||||
debugImplementation(libs.ui.test.manifest)
|
||||
|
||||
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2")
|
||||
val google_ver = "7.0.0"
|
||||
implementation ("org.apache.httpcomponents:httpclient:4.5")
|
||||
implementation ("com.google.android.gms:play-services:$google_ver")
|
||||
implementation ("com.google.android.gms:play-services-base:$google_ver")
|
||||
|
||||
implementation ("com.google.android.gms:play-services-ads:$google_ver")
|
||||
implementation ("com.google.android.gms:play-services-drive:$google_ver")
|
||||
|
||||
implementation ("commons-codec:commons-codec:1.15")
|
||||
implementation ("com.google.code.gson:gson:2.7")
|
||||
implementation ("com.facebook.android:facebook-android-sdk:3.21.0")
|
||||
|
||||
val fragment_version = "1.6.1"
|
||||
implementation("androidx.fragment:fragment:$fragment_version")
|
||||
// Kotlin
|
||||
implementation("androidx.fragment:fragment-ktx:$fragment_version")
|
||||
|
||||
implementation("androidx.localbroadcastmanager:localbroadcastmanager:1.0.0")
|
||||
}
|
||||
Reference in New Issue
Block a user