From c07cb1679e5b9257188301123fbef95f343225f0 Mon Sep 17 00:00:00 2001 From: Alex Li Date: Sat, 25 Nov 2023 10:10:22 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Handle=20all=20examples=20with?= =?UTF-8?q?=20melos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example_flutter_app/android/build.gradle | 2 +- melos.yaml | 6 +++--- .../native_dio_adapter/example/android/build.gradle | 2 +- plugins/native_dio_adapter/native_dio_adapter.iml | 13 +++++++++++++ 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/example_flutter_app/android/build.gradle b/example_flutter_app/android/build.gradle index ac477c248..adabcc1f1 100644 --- a/example_flutter_app/android/build.gradle +++ b/example_flutter_app/android/build.gradle @@ -24,6 +24,6 @@ subprojects { project.evaluationDependsOn(':app') } -task clean(type: Delete) { +tasks.register("clean", Delete) { delete rootProject.buildDir } diff --git a/melos.yaml b/melos.yaml index 87bed215c..d29438ca4 100644 --- a/melos.yaml +++ b/melos.yaml @@ -2,9 +2,9 @@ name: dio_workspace repository: https://github.com/cfug/dio packages: - - dio - - plugins/* - - example* + - 'dio' + - 'plugins/*' + - '**/example*' ide: intellij: diff --git a/plugins/native_dio_adapter/example/android/build.gradle b/plugins/native_dio_adapter/example/android/build.gradle index 83ae22004..3cdaac958 100644 --- a/plugins/native_dio_adapter/example/android/build.gradle +++ b/plugins/native_dio_adapter/example/android/build.gradle @@ -26,6 +26,6 @@ subprojects { project.evaluationDependsOn(':app') } -task clean(type: Delete) { +tasks.register("clean", Delete) { delete rootProject.buildDir } diff --git a/plugins/native_dio_adapter/native_dio_adapter.iml b/plugins/native_dio_adapter/native_dio_adapter.iml index c42820fc8..05a0597a0 100644 --- a/plugins/native_dio_adapter/native_dio_adapter.iml +++ b/plugins/native_dio_adapter/native_dio_adapter.iml @@ -10,9 +10,22 @@ + + + + + + + + + + + + + \ No newline at end of file