Use the maven-publish plugin to publish AAR files. (#101276)
This commit is contained in:
@@ -726,7 +726,7 @@ void printHowToConsumeAar({
|
||||
|
||||
for (final String buildMode in buildModes) {
|
||||
logger.printStatus("""
|
||||
${buildMode}Implementation '$androidPackage:flutter_$buildMode:$buildNumber'""");
|
||||
${buildMode}Implementation '$androidPackage:flutter:$buildNumber:$buildMode'""");
|
||||
}
|
||||
|
||||
logger.printStatus('''
|
||||
|
||||
@@ -29,8 +29,7 @@ import 'android_sdk.dart';
|
||||
// https://kotlinlang.org/docs/gradle.html#plugin-and-versions
|
||||
const String templateDefaultGradleVersion = '7.4';
|
||||
const String templateAndroidGradlePluginVersion = '7.1.2';
|
||||
// TODO(egarciad): Gradle 7 breaks AARs builds: https://github.com/flutter/flutter/issues/101083
|
||||
const String templateDefaultGradleVersionForModule = '4.1.0';
|
||||
const String templateDefaultGradleVersionForModule = '7.1.2';
|
||||
const String templateKotlinGradlePluginVersion = '1.6.10';
|
||||
|
||||
// These versions should match the values in flutter.gradle (FlutterExtension).
|
||||
|
||||
Reference in New Issue
Block a user