mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

* Revert "Mark last failing test after gradle update as flaky. (#91423)" This reverts commit46a52d03bd
. * Revert "fix android template for Gradle 7 (#91411)" This reverts commit51d06d537f
. * Revert "Add explicit version for mac and windows openjdk. (#91408)" This reverts commitbf429f2771
. * Revert "Update the openjdk version used by linux android tests. (#91405)" This reverts commit2144ab8b45
. * Revert "Migrate to Gradle 7.0.2 / AGP 7.0.1 (#90642)" This reverts commitb6459f9b63
.
54 lines
1.3 KiB
Groovy
54 lines
1.3 KiB
Groovy
// Copyright 2014 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
group 'com.example.integration_test'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.1.0'
|
|
}
|
|
}
|
|
|
|
rootProject.allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
dependencies {
|
|
// TODO(egarciad): These dependencies should not be added to release builds.
|
|
// https://github.com/flutter/flutter/issues/56591
|
|
api 'junit:junit:4.12'
|
|
|
|
// https://developer.android.com/jetpack/androidx/releases/test/#1.2.0
|
|
api 'androidx.test:runner:1.2.0'
|
|
api 'androidx.test:rules:1.2.0'
|
|
api 'androidx.test.espresso:espresso-core:3.2.0'
|
|
|
|
implementation 'com.google.guava:guava:28.1-android'
|
|
}
|
|
}
|