Skip to content

Commit

Permalink
Develop (#21)
Browse files Browse the repository at this point in the history
* Add gradle and flutter wrapper tasks to kradle script.

* Bump gradle version to 2024.1.2.beta

* Bump gradle version to 2024.1.3.beta and release 3.0.2
  • Loading branch information
buijs-dev authored May 24, 2024
1 parent 70d6d6d commit d554408
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 3.0.2
* Use Klutter Gradle v2024.1.3.beta.

## 3.0.1
* Use Klutter Gradle v2024.1.2.beta.

Expand Down
4 changes: 2 additions & 2 deletions lib/src/common/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import "package:meta/meta.dart";
import "../../klutter.dart";

/// The version of the Klutter Pub Plugin.
const klutterPubVersion = "3.0.1";
const klutterPubVersion = "3.0.2";

/// The version of the Klutter UI Pub Plugin.
const klutterUIPubVersion = "1.1.0";
Expand All @@ -12,7 +12,7 @@ const klutterUIPubVersion = "1.1.0";
const squintPubVersion = "0.1.2";

/// The version of the Klutter Gradle Plugin.
const klutterGradleVersion = "2024.1.2.beta";
const klutterGradleVersion = "2024.1.3.beta";

/// The default Flutter version to be used in the Klutter project.
const klutterFlutterVersion = "3.10.6";
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: klutter
description: Write Flutter plugins for both Android and iOS using Kotlin only.
version: 3.0.1
version: 3.0.2
homepage: https://buijs.dev
repository: https://github.com/buijs-dev/klutter-dart

Expand Down
2 changes: 1 addition & 1 deletion resources/kradle.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
bom-version: '2024.1.2.beta'
bom-version: '2024.1.3.beta'
flutter-version: '3.10.6'
feature-protobuf-enabled: false
8 changes: 4 additions & 4 deletions test/src/cli/task_service_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void main() {

expect(
tasks.getTask(TaskName.init).toString(),
"init\n bom (Optional) klutter gradle version. Defaults to '2024.1.2.beta'.\n flutter (Optional) flutter sdk version in format major.minor.patch. Defaults to '3.10.6'.\n root (Optional) klutter project root directory. Defaults to 'current working directory'.\n ios (Optional) ios version. Defaults to '13.0'.\n",
"init\n bom (Optional) klutter gradle version. Defaults to '$klutterGradleVersion'.\n flutter (Optional) flutter sdk version in format major.minor.patch. Defaults to '3.10.6'.\n root (Optional) klutter project root directory. Defaults to 'current working directory'.\n ios (Optional) ios version. Defaults to '13.0'.\n",
);
});

Expand Down Expand Up @@ -75,7 +75,7 @@ void main() {
" root (Optional) klutter project root directory. Defaults to 'current working directory'.\n"
"\n"
"init\n"
" bom (Optional) klutter gradle version. Defaults to '2024.1.2.beta'.\n"
" bom (Optional) klutter gradle version. Defaults to '$klutterGradleVersion'.\n"
" flutter (Optional) flutter sdk version in format major.minor.patch. Defaults to '3.10.6'.\n"
" root (Optional) klutter project root directory. Defaults to 'current working directory'.\n"
" ios (Optional) ios version. Defaults to '13.0'.\n"
Expand All @@ -91,9 +91,9 @@ void main() {
" group (Optional) plugin group name. Defaults to 'dev.buijs.klutter.example'.\n"
" flutter (Optional) flutter sdk version in format major.minor.patch. Defaults to '3.10.6'.\n"
" root (Optional) klutter project root directory. Defaults to 'current working directory'.\n"
" klutter (Optional) klutter pub version. Defaults to '3.0.1'.\n"
" klutter (Optional) klutter pub version. Defaults to '$klutterPubVersion'.\n"
" klutterui (Optional) klutter_ui pub version. Defaults to '1.1.0'.\n"
" bom (Optional) klutter gradle version. Defaults to '2024.1.2.beta'.\n"
" bom (Optional) klutter gradle version. Defaults to '$klutterGradleVersion'.\n"
" squint (Optional) squint_json pub version. Defaults to '0.1.2'.\n"
"\n"
"build\n"
Expand Down
4 changes: 2 additions & 2 deletions test/src/producer/android_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void main() {
pluginVersion: pluginVersion,
packageName: packageName,
pathToAndroid: android.path,
klutterBomVersion: "2024.1.2.beta",
klutterBomVersion: klutterGradleVersion,
);

expect(
Expand All @@ -109,7 +109,7 @@ void main() {
}
dependencies {
classpath platform("dev.buijs.klutter:bom:2024.1.2.beta")
classpath platform("dev.buijs.klutter:bom:$klutterGradleVersion")
classpath "dev.buijs.klutter:gradle"
classpath 'com.android.tools.build:gradle:8.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.10"
Expand Down

0 comments on commit d554408

Please sign in to comment.