Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
flutter_svg: restore repo conventions
  • Loading branch information
stuartmorgan-g committed Mar 3, 2026
commit 0db1b85b137b97236716f72fedd5fabbe3385788
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ android {
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "io.flutter.plugins.flutter_svg_example"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
Expand All @@ -32,8 +29,6 @@ android {

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.getByName("debug")
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2013 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

package io.flutter.plugins.flutter_svg_example

import io.flutter.embedding.android.FlutterActivity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
allprojects {
repositories {
// See https://github.com/flutter/flutter/blob/master/docs/ecosystem/Plugins-and-Packages-repository-structure.md#gradle-structure for more info.
val artifactRepoKey = "ARTIFACT_HUB_REPOSITORY"
val artifactRepoUrl = System.getenv(artifactRepoKey)
if (artifactRepoUrl != null) {
println("Using artifact hub")
maven {
url = uri(artifactRepoUrl)
}
}
google()
mavenCentral()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ pluginManagement {
}
}

// See https://github.com/flutter/flutter/blob/master/docs/ecosystem/Plugins-and-Packages-repository-structure.md#gradle-structure for more info.
plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.11.1" apply false
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
id("com.google.cloud.artifactregistry.gradle-plugin") version "2.2.1"
}

include(":app")