fix: finally fix gradle build

This commit is contained in:
Kingkor Roy Tirtho 2024-12-14 12:05:25 +06:00
parent 08f624ece1
commit 4595eb169f
7 changed files with 19 additions and 89 deletions

View File

@ -32,8 +32,6 @@ linter:
analyzer: analyzer:
errors: errors:
invalid_annotation_target: ignore invalid_annotation_target: ignore
plugins:
- custom_lint
exclude: exclude:
- "**.freezed.dart" - "**.freezed.dart"
- "**.g.dart" - "**.g.dart"

View File

@ -33,7 +33,7 @@ android {
compileSdkVersion 35 compileSdkVersion 35
ndkVersion "26.1.10909125" ndkVersion = "27.0.12077973"
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8

View File

@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android">
package="oss.krtirtho.spotube">
<!-- Flutter needs it to communicate with the running application <!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc. to allow setting breakpoints, to provide hot reload, etc.
--> -->

View File

@ -1,4 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="oss.krtirtho.spotube"> <manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.WAKE_LOCK" />

View File

@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android">
package="oss.krtirtho.spotube">
<!-- Flutter needs it to communicate with the running application <!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc. to allow setting breakpoints, to provide hot reload, etc.
--> -->

View File

@ -342,14 +342,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.3" version: "2.0.3"
ci:
dependency: transitive
description:
name: ci
sha256: "145d095ce05cddac4d797a158bc4cf3b6016d1fe63d8c3d2fbd7212590adca13"
url: "https://pub.dev"
source: hosted
version: "0.1.0"
cli_util: cli_util:
dependency: transitive dependency: transitive
description: description:
@ -438,38 +430,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.6" version: "1.0.6"
custom_lint:
dependency: "direct dev"
description:
name: custom_lint
sha256: "3486c470bb93313a9417f926c7dd694a2e349220992d7b9d14534dc49c15bba9"
url: "https://pub.dev"
source: hosted
version: "0.7.0"
custom_lint_builder:
dependency: transitive
description:
name: custom_lint_builder
sha256: "42cdc41994eeeddab0d7a722c7093ec52bd0761921eeb2cbdbf33d192a234759"
url: "https://pub.dev"
source: hosted
version: "0.7.0"
custom_lint_core:
dependency: transitive
description:
name: custom_lint_core
sha256: "02450c3e45e2a6e8b26c4d16687596ab3c4644dd5792e3313aa9ceba5a49b7f5"
url: "https://pub.dev"
source: hosted
version: "0.7.0"
custom_lint_visitor:
dependency: transitive
description:
name: custom_lint_visitor
sha256: bfe9b7a09c4775a587b58d10ebb871d4fe618237639b1e84d5ec62d7dfef25f9
url: "https://pub.dev"
source: hosted
version: "1.0.0+6.11.0"
dart_des: dart_des:
dependency: transitive dependency: transitive
description: description:
@ -652,10 +612,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: file_picker name: file_picker
sha256: "89500471922dd3a89ab0d6e13ab4a2268c25474bff4ca7c628f55c76e0ced1de" sha256: "16dc141db5a2ccc6520ebb6a2eb5945b1b09e95085c021d9f914f8ded7f1465c"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "8.1.5" version: "8.1.4"
file_selector: file_selector:
dependency: "direct main" dependency: "direct main"
description: description:
@ -745,8 +705,8 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: "." path: "."
ref: main ref: "63931dfe06733d4fb7452e9981e1f0b23414d97a"
resolved-ref: "10ded509b2bf50870114a88d7d61d4817bc36fd6" resolved-ref: "63931dfe06733d4fb7452e9981e1f0b23414d97a"
url: "https://github.com/KRTirtho/flutter_broadcasts.git" url: "https://github.com/KRTirtho/flutter_broadcasts.git"
source: git source: git
version: "0.4.0" version: "0.4.0"
@ -1143,14 +1103,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.6.1" version: "2.6.1"
hotreloader:
dependency: transitive
description:
name: hotreloader
sha256: ed56fdc1f3a8ac924e717257621d09e9ec20e308ab6352a73a50a1d7a4d9158e
url: "https://pub.dev"
source: hosted
version: "4.2.0"
html: html:
dependency: "direct main" dependency: "direct main"
description: description:
@ -1892,22 +1844,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.6.1" version: "2.6.1"
riverpod_analyzer_utils:
dependency: transitive
description:
name: riverpod_analyzer_utils
sha256: c6b8222b2b483cb87ae77ad147d6408f400c64f060df7a225b127f4afef4f8c8
url: "https://pub.dev"
source: hosted
version: "0.5.8"
riverpod_lint:
dependency: "direct dev"
description:
name: riverpod_lint
sha256: "83e4caa337a9840469b7b9bd8c2351ce85abad80f570d84146911b32086fbd99"
url: "https://pub.dev"
source: hosted
version: "2.6.3"
rxdart: rxdart:
dependency: transitive dependency: transitive
description: description:
@ -2318,10 +2254,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: system_theme name: system_theme
sha256: "1f208db140a3d1e1eac2034b54920d95699c1534df576ced44b3312c5de3975f" sha256: "5f93485401689601d4636a695f99f7c70a30873ee68c1d95025d908a3386be7e"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.3.1" version: "3.1.2"
system_theme_web: system_theme_web:
dependency: transitive dependency: transitive
description: description:

View File

@ -41,7 +41,7 @@ dependencies:
duration: ^3.0.12 duration: ^3.0.12
encrypt: ^5.0.3 encrypt: ^5.0.3
envied: ^1.0.0 envied: ^1.0.0
file_picker: ^8.0.0+1 file_picker: 8.1.4
file_selector: ^1.0.3 file_selector: ^1.0.3
fluentui_system_icons: ^1.1.234 fluentui_system_icons: ^1.1.234
flutter: flutter:
@ -49,7 +49,7 @@ dependencies:
flutter_broadcasts: flutter_broadcasts:
git: git:
url: https://github.com/KRTirtho/flutter_broadcasts.git url: https://github.com/KRTirtho/flutter_broadcasts.git
ref: main ref: 63931dfe06733d4fb7452e9981e1f0b23414d97a
flutter_cache_manager: ^3.3.0 flutter_cache_manager: ^3.3.0
flutter_discord_rpc: ^1.0.0 flutter_discord_rpc: ^1.0.0
flutter_displaymode: ^0.6.0 flutter_displaymode: ^0.6.0
@ -114,7 +114,7 @@ dependencies:
sqlite3: ^2.4.3 sqlite3: ^2.4.3
sqlite3_flutter_libs: ^0.5.23 sqlite3_flutter_libs: ^0.5.23
stroke_text: ^0.0.2 stroke_text: ^0.0.2
system_theme: ^2.1.0 system_theme: ^3.1.2
test: ^1.25.7 test: ^1.25.7
timezone: ^0.10.0 timezone: ^0.10.0
titlebar_buttons: ^1.0.0 titlebar_buttons: ^1.0.0
@ -144,8 +144,6 @@ dev_dependencies:
hive_generator: ^2.0.0 hive_generator: ^2.0.0
json_serializable: ^6.6.2 json_serializable: ^6.6.2
freezed: ^2.5.2 freezed: ^2.5.2
custom_lint: ^0.7.0
riverpod_lint: ^2.6.3
process_run: ^0.14.2 process_run: ^0.14.2
pubspec_parse: ^1.3.0 pubspec_parse: ^1.3.0
pub_api_client: ^3.0.0 pub_api_client: ^3.0.0