Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 4 additions & 4 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@ jobs:
run: bash tool/build_linux_consumer.sh

linux-minimum-sdk-consumer:
name: Linux minimum-SDK tests + consumer (Dart 3.6)
name: Linux minimum-SDK tests + consumer (Dart 3.13)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

# Flutter 3.27.0 ships Dart 3.6.0, the package's declared SDK minimum.
# Flutter 3.47.7 ships Dart 3.13, the package's declared SDK minimum.
# Build the same real consumer fixture rather than duplicating pub syntax.
- uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2.23.0
with:
channel: stable
flutter-version: '3.27.0'
flutter-version: '3.47.7'

- name: Install Linux build and native test dependencies
run: |
Expand All @@ -93,7 +93,7 @@ jobs:
run: flutter precache --linux

# Bootstrap the Linux dependency closure only: Android and its example
# have newer SDK floors and are covered by the stable/native jobs.
# are covered by the stable/native jobs.
- name: Link Linux workspace dependencies
run: dart run melos bootstrap --scope=simple_query_linux --include-dependencies

Expand Down
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ migrate_working_dir/
.pub/
build/
**/build/
# Lockfiles for federated library packages — consumers' lockfile
# is what matters; ours would mask reproducibility drift in CI.
# Keep in sync with simple-permissions / simple-sms / simple-telephony /
# simple-messages, all of which gitignore pubspec.lock.
pubspec.lock

# Symbolication / obfuscation
app.*.symbols
Expand Down
13 changes: 8 additions & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ implements it, and `simple_query` is the public surface.
## Build · test · verify

Use released stable Flutter **3.47 or later** for workspace verification;
**melos** drives the workspace. SDK floors are package-specific:
`simple_query_android` requires Dart `^3.12.0` / Flutter `>=3.44.0`, and
the built-in-Kotlin example requires Dart `^3.12.0` / Flutter `>=3.47.0`.
Untouched packages retain their own declared floors (generally Dart `^3.6.0`);
consult each `pubspec.yaml` rather than applying one workspace-wide floor.
**melos** drives the workspace. Every package and the example require Dart `^3.13.0` / Flutter `>=3.47.7`
(UNFY-412).

The example's Android toolchain is declared in
`example/android/settings.gradle.kts` and the Gradle wrapper properties.
Expand All @@ -59,6 +56,12 @@ flutter test

See `melos.yaml` for the workspace scripts.

Every package and the example commits its `pubspec.lock` (CQS-DEP-02),
resolved after `melos bootstrap`, as CI resolves it. When `flutter pub get`
or `flutter pub upgrade` changes a lockfile, including after a release
changes the linked package versions, commit it. pub leaves `pubspec.lock`
out of published packages.

**When you touch `packages/simple_query_android/android/` (Kotlin), also run
the native gate.** `flutter test` never compiles or tests that Kotlin. The
native unit tests run through the *example app's* Gradle (a bare
Expand Down
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:material_ui/material_ui.dart';
import 'package:simple_query/simple_query.dart';

void main() {
Expand Down
Loading
Loading