build.gradle
1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
group 'com.wxwork.flutter_wxwork'
version '1.0'
buildscript {
repositories {
google()
mavenCentral()
// flatDir {
// dirs 'libs'
// }
// 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()
// flatDir {
// dirs 'libs'
// }
// 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(fileTree("libs"))
// implementation project(':LocalRepo:lib_wwapi-2.0.12.11')
// implementation "com.tecent:sdk:2.0.12"
// implementation(name: 'lib_wwapi-2.0.12.11', ext: 'aar')
// 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 project(':LocalRepo:lib_wwapi-2.0.12.11')
}