Skip to content

Commit

Permalink
Release 3.0.1 using gradle 2024.1.2.beta (#20)
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
  • Loading branch information
buijs-dev authored May 13, 2024
1 parent 8621bbf commit 70d6d6d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 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.1
* Use Klutter Gradle v2024.1.2.beta.

## 3.0.0
* Use klutter_ui 1.1.0.
* Use Klutter Gradle v2024.1.1.beta with support for protobuf.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Add the Klutter library to dependencies in the pubspec.yaml:

```yaml
dev_dependencies:
klutter: ^3.0.0
klutter: ^3.0.1
```
Then run:
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.0";
const klutterPubVersion = "3.0.1";

/// 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.1.beta";
const klutterGradleVersion = "2024.1.2.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.0
version: 3.0.1
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.1.beta'
bom-version: '2024.1.2.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.1.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 '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",
);
});

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.1.beta'.\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"
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.0'.\n"
" klutter (Optional) klutter pub version. Defaults to '3.0.1'.\n"
" klutterui (Optional) klutter_ui pub version. Defaults to '1.1.0'.\n"
" bom (Optional) klutter gradle version. Defaults to '2024.1.1.beta'.\n"
" bom (Optional) klutter gradle version. Defaults to '2024.1.2.beta'.\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.1.beta",
klutterBomVersion: "2024.1.2.beta",
);

expect(
Expand All @@ -109,7 +109,7 @@ void main() {
}
dependencies {
classpath platform("dev.buijs.klutter:bom:2024.1.1.beta")
classpath platform("dev.buijs.klutter:bom:2024.1.2.beta")
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 70d6d6d

Please sign in to comment.