File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ void main() {
42
42
void writeFakeBuildGradle (RepositoryPackage example, String pluginName,
43
43
{bool warningsConfigured = true }) {
44
44
final String warningConfig = '''
45
- gradle.projectsEvaluated {
46
- project(":$pluginName ") {
47
- tasks.withType(JavaCompile) {
48
- options.compilerArgs << "-Xlint:all" << "-Werror"
49
- }
45
+ gradle.projectsEvaluated {
46
+ project(":$pluginName ") {
47
+ tasks.withType(JavaCompile) {
48
+ options.compilerArgs << "-Xlint:all" << "-Werror"
50
49
}
51
50
}
51
+ }
52
52
''' ;
53
53
example
54
54
.platformDirectory (FlutterPlatform .android)
@@ -60,16 +60,16 @@ buildscript {
60
60
mavenCentral()
61
61
}
62
62
dependencies {
63
- classpath 'com.android.tools.build:gradle:7 .0.1'
63
+ classpath 'com.android.tools.build:gradle:8 .0.1'
64
64
}
65
65
}
66
66
allprojects {
67
67
repositories {
68
68
google()
69
69
mavenCentral()
70
70
}
71
- ${warningsConfigured ? warningConfig : '' }
72
71
}
72
+ ${warningsConfigured ? warningConfig : '' }
73
73
''' );
74
74
}
75
75
You can’t perform that action at this time.
0 commit comments