build.gradle 1.74 KB
group 'com.wxwork.flutter_wxwork'
version '1.0'

buildscript {
    repositories {
        google()
        mavenCentral()
        // maven {url "file:///Users\\wangdongni\\Desktop\\oneKey_wdn_none_safty\\Flutter-ReserveApp\\library\\flutter_wxwork\\android\\libs\\lib_wwapi-2.0.12.11.aar"}
       
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:7.4.1'
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
        //  maven {url "file:///Users\\wangdongni\\Desktop\\oneKey_wdn_none_safty\\Flutter-ReserveApp\\library\\flutter_wxwork\\android\\libs\\lib_wwapi-2.0.12.11.aar"}
    }
}



apply plugin: 'com.android.library'

android {
    compileSdkVersion 31

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    defaultConfig {
        minSdkVersion 21
    }
    dependencies {
        testImplementation 'junit:junit:4.13.2'
        testImplementation 'org.mockito:mockito-core:5.0.0'
        // implementation fileTree(dir: 'libs', include: ['*.aar'])
        // implementation fileTree(dir: "libs", include: ["*.jar", "*.aar"])
      implementation(project(":my-local-sdk"))
        // implementation "com.tecent:sdk:2.0.12"
        //  implementation(name: 'lib_wwapi-2.0.12.11', ext: 'aar')
    }

    testOptions {
        unitTests.all {
            testLogging {
                events "passed", "skipped", "failed", "standardOut", "standardError"
                outputs.upToDateWhen { false }
                showStandardStreams = true
            }
        }
    }
}



// dependencies{
//       implementation(project(":my-local-sdk"))
// }

// dependencies {
//     implementation(name: 'lib_wwapi-2.0.12.11', ext: 'aar')
// }