plus_plugins
plus_plugins copied to clipboard
[Compile]: Space-assignment syntax in Groovy DSL has been deprecated.
Operating System
Windows11
Plugin
device_info_plus
Version
12.1.0
Flutter SDK
3.35.3
Compilation command
./gradlew assembleDebug
Dart Dependencies
archive: ^4.0.7
async: ^2.11.0
cupertino_icons: ^1.0.2
device_info_plus: ^12.1.0
dio: ^5.7.0
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
flutter_pty: ^0.4.2
get: ^4.6.5
intl: 0.20.2
path: ^1.9.1
permission_handler: ^12.0.1
signale: ^0.0.9
tar: ^2.0.0
url_launcher_android: ^6.3.23
xterm: ^4.0.0
dev_dependencies:
flutter_test:
sdk: flutter
intl_utils: ^2.8.7
very_good_analysis: ^10.0.0
flutter:
uses-material-design: true
assets:
- assets/
flutter_intl:
enabled: true
Native dependencies
behavior_api:
git:
url: https://github.com/nightmare-space/empty_package
path: behavior_api
global_repository:
git:
url: https://github.com/nightmare-space/global_repository
settings:
git: https://github.com/nightmare-space/settings
Compilation Error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
Space-assignment syntax in Groovy DSL has been deprecated
Flutter Doctor
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[√] Flutter (Channel stable, 3.35.3, on Microsoft Windows [版本 10.0.26100.4946], locale zh-CN) [606ms]
• Flutter version 3.35.3 on channel stable at D:\ProgramData\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision a402d9a437 (4 weeks ago), 2025-09-03 14:54:31 -0700
• Engine revision ddf47dd3ff
• Dart version 3.9.2
• DevTools version 2.48.0
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop,
enable-android, enable-ios, cli-animations, enable-lldb-debugging
[√] Windows Version (11 家庭中文版 64-bit, 24H2, 2009) [3.2s]
[√] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [45.0s]
• Android SDK at D:\ProgramData\Android\sdk
• Emulator version 35.6.11.0 (build_id 13610412) (CL:N/A)
• Platform android-36, build-tools 36.0.0
• ANDROID_HOME = D:\ProgramData\Android\sdk
• Java binary at: D:\Program Files\Android\jbr\bin\java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
• All Android licenses accepted.
[√] Chrome - develop for the web [208ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.14.10) [207ms]
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.14.36327.8
• Windows 10 SDK version 10.0.26100.0
[√] Android Studio (version 2025.1.1) [11ms]
• Android Studio at D:\Program Files\Android
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
[√] VS Code, 32-bit edition (version 1.32.3) [9ms]
• VS Code at C:\Program Files (x86)\Microsoft VS Code
• Flutter extension version 2.25.1
[√] Connected device (4 available) [988ms]
• Pixel Tablet (mobile) • emulator-5554 • android-x64 • Android 15 (API 35) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [版本 10.0.26100.4946]
• Chrome (web) • chrome • web-javascript • Google Chrome 140.0.7339.185
• Edge (web) • edge • web-javascript • Microsoft Edge 141.0.3537.57
[√] Network resources [1,751ms]
• All expected network resources are available.
• No issues found!
Checklist before submitting a bug
- [x] I searched issues in this repository and couldn't find such bug/problem
- [x] I Google'd a solution and I couldn't find it
- [x] I searched on StackOverflow for a solution and I couldn't find it
- [x] I read the README.md file of the plugin
- [x] I'm using the latest version of the plugin
- [x] All dependencies are up to date with
flutter pub upgrade - [x] I did a
flutter clean - [x] I tried running the example project
I have already resolved this issue in my project, but I do not have the time and energy to submit a PR (I cannot confirm if this issue is widespread and what the impact of the modification would be). At the same time, I believe that doing nothing in this situation is irresponsible, so I raise this issue.
Here's the solution.
Thanks for providing the info, but the deprecation warning isn't the reason for compilation error that you had.