plugins { id 'com.android.library' id 'kotlin-android' } android { compileSdk 34 namespace "com.tuya.smart.android.demo.camera" defaultConfig { minSdkVersion 21 targetSdkVersion 34 versionCode 1 versionName "1.0" 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 = '17' } buildFeatures { viewBinding true } } dependencies { implementation 'androidx.core:core-ktx:1.5.0' implementation 'androidx.appcompat:appcompat:1.3.0' implementation 'com.google.android.material:material:1.4.0' testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'androidx.navigation:navigation-fragment-ktx:2.2.2' implementation 'androidx.navigation:navigation-ui-ktx:2.2.2' implementation 'com.alibaba:fastjson:1.1.67.android' implementation "org.jetbrains.kotlin:kotlin-reflect:1.5.21" implementation "org.jetbrains.kotlin:kotlin-stdlib:1.2.41" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2" implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.14.9' implementation project(':base_res') api 'com.thingclips.smart:thingsmart-ipcsdk:6.7.0+' implementation 'com.thingclips.smart:thingsmart-ipc-camera-autotest:5.0.0' implementation 'com.thingclips.smart:thingsmart-ipc-camera-cloudtool:5.0.0' //timeline view implementation 'com.thingclips.smart:thingsmart-ipc-camera-timeline:1.1.0' }