1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- group 'com.example.vnote_device_plugin'
- version '1.0'
- buildscript {
- repositories {
- google()
- mavenCentral()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:7.3.0'
- }
- }
- rootProject.allprojects {
- repositories {
- google()
- mavenCentral()
- flatDir {
- dirs 'libs'
- }
- }
- }
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 31
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- defaultConfig {
- minSdkVersion 16
- }
- dependencies {
- testImplementation 'junit:junit:4.13.2'
- testImplementation 'org.mockito:mockito-core:5.0.0'
- // implementation fileTree(dir: 'libs', include: ['*.jar','*.aar'])
- compileOnly fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
- // implementation(name:'device_sdk',ext:'aar')
- }
- testOptions {
- unitTests.all {
- testLogging {
- events "passed", "skipped", "failed", "standardOut", "standardError"
- outputs.upToDateWhen {false}
- showStandardStreams = true
- }
- }
- }
- }
|