Skip to content

Commit

Permalink
Feature/protobuf (#31)
Browse files Browse the repository at this point in the history
* Changes to use dart 3.0.0:
- Reintroduce klutterGetKradleTask.
- Use klutter-dart to build native executable.
- Make al files executable when unzipping to prevent script problems.
- Use klutter-dart 3.0.0 for iOS init and delete init tasks from kore module.
- Bump Jetbrains dependency, use newer platform api.
- Project cleanup.
  • Loading branch information
buijs-dev authored May 13, 2024
1 parent 0f14923 commit 50dd9a7
Show file tree
Hide file tree
Showing 122 changed files with 2,150 additions and 3,001 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 11
java-version: 17
cache: gradle
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.0.5'
channel: 'stable'
- uses: gradle/gradle-build-action@v2.4.2
- uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 7.4.2
gradle-version: 8.3
arguments: clean build koverMergedXmlReport -p "lib"

- uses: codecov/codecov-action@v2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/dokka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
timeout-minutes: 60
steps:
- name: 'checkout source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'setup java'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 11
java-version: 17
- name: 'setup gradle'
uses: gradle/gradle-build-action@v2.4.2
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 7.4.2
gradle-version: 8.3
- name: 'setup flutter'
uses: subosito/flutter-action@v2
with:
Expand Down
46 changes: 0 additions & 46 deletions .github/workflows/kradle.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,3 @@ hs_err_pid*
/lib-test/rune2e.properties
/lib/gradle/src/main/resources/publish.properties
/test-ksp/local.properties
/lib/gradle/src/main/resources/kradlew
/lib/gradle/src/main/resources/kradlew.bat
/kradle/kradlew
/kradle/kradlew.bat
12 changes: 7 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# CHANGELOG

## v2024.1.1.beta
- Remove kradle module from project (kradle is the default executable since [kradle](..%2Fklutter-dart%2Fkradle) 3.0.0).
- Add support for protocol buffers.

## v2023.3.1.beta
- Refactored task module to package in kore.
- Removed task module from BOM e.a.
- Renamed kommand to kradle.
- Refactor task module to package in kore.
- Remove task module from BOM e.a.
- Rename kommand to kradle.

## v2023.2.2.beta
- Remove example/integration_test folder on project init from example app.
Expand All @@ -15,8 +19,6 @@
- Uses [klutter-dart](https://pub.dev/packages/klutter) version 1.0.0.
- Uses [klutter-dart-ui](https://pub.dev/packages/klutter_ui) version 1.0.0.

## v2023.3.1.beta

## v2023.1.1.beta
- Added support for request parameters.
- Added support for streaming data from platform to ui (using EventChannel).
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2021 - 2023 Buijs Software
Copyright (c) 2021 - 2024 Buijs Software

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Klutter is a framework which interconnects Flutter and Kotlin Multiplatform.
It can be used to create Flutter plugins.


### Getting started
- Start a new project with the
- [Intellij](https://buijs.dev/klutter-3/) plugin
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
kotlin("jvm") version "1.7.10"
kotlin("jvm") version "1.9.10"
}

buildscript {
Expand All @@ -13,8 +13,8 @@ buildscript {
}

dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
classpath("com.android.tools.build:gradle:7.2.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.10")
classpath("com.android.tools.build:gradle:8.1.4")
}
}

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
org.gradle.jvmargs=-Xms3096M -Xmx8192M -Dkotlin.daemon.jvm.options\="-Xmx8192M"
kotlin.mpp.stability.nowarn=true
android.disableAutomaticComponentCreation=true
kotlin.mpp.enableCInteropCommonization=true
kotlin.native.cacheKind.iosArm64=none
kotlin.native.cacheKind.iosArm64=none
kotlin.stdlib.default.dependency = false
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 0 additions & 2 deletions kradle.yaml

This file was deleted.

Loading

0 comments on commit 50dd9a7

Please sign in to comment.