| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- plugins {
- id 'com.android.library'
- id 'org.jetbrains.kotlin.android'
- id 'maven-publish'
- }
- ext {
- GROUP_ID = 'com.wenext.android'
- ARTIFACT_ID = 'frame-trtc'
- VERSION = '6.0.4'
- }
- apply from: "../../publish.gradle"
- android {
- namespace 'com.wenext.trtc'
- 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"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_17
- targetCompatibility JavaVersion.VERSION_17
- }
- kotlinOptions {
- jvmTarget = JavaVersion.VERSION_17.majorVersion
- }
- }
- dependencies {
- //kotlin
- implementation libs.kotlin.stdlib
- //androidx
- implementation libs.androidx.core
- implementation libs.androidx.appcompat
- //rtc
- implementation libs.trtc
- //frame
- compileOnly libs.gson
- compileOnly project(":frame:media")
- compileOnly project(":frame:zero")
- compileOnly project(":frame:base")
- compileOnly project(":frame:data")
- compileOnly project(":frame:coroutine")
- compileOnly project(":frame:util")
- compileOnly project(":frame:statistics")
- compileOnly project(":frame:log")
- //test
- testImplementation libs.junit
- androidTestImplementation libs.androidx.junit
- androidTestImplementation libs.androidx.espresso.core
- }
|