-
Notifications
You must be signed in to change notification settings - Fork 30.3k
Expand file tree
/
Copy pathbuild.gradle
More file actions
67 lines (56 loc) · 1.81 KB
/
build.gradle
File metadata and controls
67 lines (56 loc) · 1.81 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
// This file only exists to provide IDE support to Android Studio.
//
// See ./README.md for details.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
// Consult the Android team before bumping. This is only used for IDE support, so
// it does not need to be bumped as part of most repo-wide upgrades.
classpath "com.android.tools.build:gradle:8.9.1"
}
}
repositories {
google()
mavenCentral()
}
apply plugin: "com.android.library"
android {
namespace = "io.flutter.embedding"
compileSdk = 36
defaultConfig {
minSdk = 24
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs './'
java.include './io.flutter/**'
test {
java.srcDir './test'
java.include './test/io.flutter/**'
}
}
}
testOptions {
unitTests {
includeAndroidResources = true
}
}
dependencies {
implementation fileTree(include: ["*.jar"], dir: "../../../../flutter/third_party/android_embedding_dependencies/lib/")
// These dependencies should be kept in line with those in the ./test_runner/build.gradle
implementation "androidx.test:core:1.4.0"
implementation "com.google.android.play:core:1.8.0"
implementation "com.ibm.icu:icu4j:69.1"
implementation "org.robolectric:robolectric:4.16"
implementation "junit:junit:4.13.2"
implementation "androidx.test.ext:junit:1.1.4-alpha07"
def mockitoVersion = "4.7.0"
implementation "org.mockito:mockito-core:$mockitoVersion"
implementation "org.mockito:mockito-inline:$mockitoVersion"
implementation "org.mockito:mockito-android:$mockitoVersion"
}
}