PoovusPerfect
05/14/2024, 11:40 AMVampire
05/14/2024, 12:56 PMPoovusPerfect
05/14/2024, 1:41 PMVampire
05/14/2024, 2:31 PMPoovusPerfect
05/14/2024, 2:34 PMPoovusPerfect
05/14/2024, 2:38 PMVampire
05/14/2024, 2:40 PMext
for a local variable is an anti-pattern anyway.
As well as using buildscript { ... }
block to bring a plugin to the classpath.
You should instead use the plugins { ... }
block to apply plugins and not the legacy way with adding to buildscript
dependencies and using apply
.
Where the version is coming from in your case I can hardly tell from just that snippet, I'd need to see the full build scripts.Vampire
05/14/2024, 2:40 PMPoovusPerfect
05/14/2024, 2:43 PMflutter run --release
works.
signingConfig signingConfigs.debug
signingConfig signingConfigs.release
}
}
flavorDimensions "default"
productFlavors {
dev {
resValue "string", "app_name", "Niv-dev"
applicationIdSuffix ".dev"
}
stage {
resValue "string", "app_name", "Niv-stage"
applicationIdSuffix ".stage"
}
prod {
resValue "string", "app_name", "Niv"
}
}
}
flutter {
source '../..'
}
dependencies {
}PoovusPerfect
05/14/2024, 2:44 PMVampire
05/14/2024, 5:56 PM