| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- plugins {
- id 'com.android.library'
- id 'org.jetbrains.kotlin.android'
- id 'maven-publish'
- }
- android {
- namespace "com.wenext.android.trace"
- compileSdk libs.versions.compileSdk.get().toInteger()
- defaultConfig {
- minSdk libs.versions.minSdk.get().toInteger()
- targetSdk libs.versions.targetSdk.get().toInteger()
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- externalNativeBuild {
- cmake {
- cppFlags ""
- }
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- externalNativeBuild {
- cmake {
- path "src/main/cpp/CMakeLists.txt"
- version "3.18.1"
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_17
- targetCompatibility JavaVersion.VERSION_17
- }
- kotlinOptions {
- jvmTarget = JavaVersion.VERSION_17.majorVersion
- }
- }
- dependencies {
- implementation libs.kotlin.stdlib
- implementation libs.androidx.core.ktx
- compileOnly project(":frame:util")
- compileOnly project(":frame:zero")
- compileOnly project(":frame:base")
- compileOnly project(":frame:zero")
- implementation libs.mmkv
- api libs.gson
- compileOnly project(":frame:data")
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- }
- ext {
- GROUP_ID = 'com.wenext.android'
- ARTIFACT_ID = 'frame-trace-api'
- VERSION = '1.0.1'
- }
- apply from: "../../../publish.gradle"
|