1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- //apply plugin: 'com.android.application'
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 30
- buildToolsVersion "30.0.2"
- defaultConfig {
- // applicationId "com.starrtc.demo"
- minSdkVersion 15
- targetSdkVersion 30
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- ndk {
- moduleName "app"
- abiFilters 'armeabi-v7a','arm64-v8a'
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
- lintOptions {
- checkReleaseBuilds false
- // Or, if you prefer, you can continue to check for errors in release builds,
- // but continue the build even when errors are found:
- abortOnError false
- }
- }
- dependencies {
- // implementation 'androidx.appcompat:appcompat:1.0.2'
- // implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- // testImplementation 'junit:junit:4.12'
- // androidTestImplementation 'androidx.test.ext:junit:1.1.0'
- // androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
- // implementation 'com.android.support:appcompat-v7:25.3.1'
- // implementation 'com.android.support:recyclerview-v7:25.3.1'
- // implementation 'com.android.support.constraint:constraint-layout:2.0.0-alpha4'
- // implementation files('libs\\star_rtc_sdk.jar')
- compile fileTree(dir: 'libs', include: ['*.jar'])
- androidTestCompile('com.android.support.test.espresso:espresso-core:+', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- compile 'com.android.support:appcompat-v7:26.+'
- compile 'com.android.support.constraint:constraint-layout:1.0.2'
- testCompile 'junit:junit:4.12'
- compile 'com.android.support:recyclerview-v7:24.2.0'
- compile files('libs/star_rtc_sdk.jar')
- }
|