first commit

This commit is contained in:
2025-12-28 14:40:46 +07:00
commit b14532df4e
52 changed files with 2145 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
plugins {
alias(libs.plugins.android.application)
}
android {
namespace = "com.example.customtoastview"
compileSdk {
version = release(36)
}
defaultConfig {
applicationId = "com.example.customtoastview"
minSdk = 24
targetSdk = 36
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {
cppFlags += ""
}
}
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
externalNativeBuild {
cmake {
path = file("src/main/cpp/CMakeLists.txt")
version = "3.22.1"
}
}
ndkVersion = "26.0.10792818"
}
dependencies {
implementation(libs.appcompat)
implementation(libs.material)
implementation(libs.activity)
implementation(libs.constraintlayout)
testImplementation(libs.junit)
androidTestImplementation(libs.ext.junit)
androidTestImplementation(libs.espresso.core)
}