283 Commits

Author SHA1 Message Date
12fc6fc245 Introduce Compose ktlint rules (#267) 2023-12-01 22:03:15 -05:00
6883845130 Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.23.2 (#266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 14:04:08 -05:00
00f4a6d1f4 Update dependency androidx.compose.compiler:compiler to v1.5.5 (#265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 14:00:58 -05:00
7ccd9ffc2e Update dependency gradle to v8.5 (#263)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 11:04:40 -05:00
7146feaf68 Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.15.1 (#262)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 01:07:25 +00:00
8fc3c1b80d Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.23.0 (#260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 06:59:19 -05:00
89bc16f0ea Update Kotlin and Compose (#258)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-24 13:36:41 -05:00
b9bec34083 Update dependency org.jetbrains.compose.runtime:runtime to v1.5.11 (#259)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-24 12:58:53 -05:00
eab6476ba9 Update dependency com.github.gmazzo.buildconfig:plugin to v4.2.0 (#257)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 19:47:22 +00:00
e67cb363c7 Fix Gradle warnings (#248)
* Fix deprecation warning coming from buildconfig plugin.

> Configure project :build-logic:mosaic-gradle-plugin
The Project.getConvention() method has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#deprecated_access_to_conventions
        at build_76rlsb2vs9qh6z5gt0vmnl0ip.run(P:\projects\contrib\github-mosaic\mosaic-gradle-plugin\build.gradle:3)

* Fix application plugin related deprecations. `mainClassName` is a convention property, even when it's inside the `application` block.
We cant to set https://docs.gradle.org/8.4/dsl/org.gradle.api.plugins.JavaApplication.html#org.gradle.api.plugins.JavaApplication:mainClass instead.

> Configure project :samples:counter
Build file 'P:\projects\contrib\github-mosaic\samples\counter\build.gradle': line 11
The org.gradle.api.plugins.ApplicationPluginConvention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#application_convention_deprecation
        at build_dw2puawl5bmiuhlfercnbnay0$_run_closure1.doCall$original(P:\projects\contrib\github-mosaic\samples\counter\build.gradle:11)
        at build_dw2puawl5bmiuhlfercnbnay0.run(P:\projects\contrib\github-mosaic\samples\counter\build.gradle:10)

		Build file 'P:\projects\contrib\github-mosaic\samples\counter\build.gradle': line 11
The org.gradle.api.plugins.Convention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#deprecated_access_to_conventions
        at build_dw2puawl5bmiuhlfercnbnay0$_run_closure1.doCall$original(P:\projects\contrib\github-mosaic\samples\counter\build.gradle:11)
        at build_dw2puawl5bmiuhlfercnbnay0.run(P:\projects\contrib\github-mosaic\samples\counter\build.gradle:10)

> Configure project :samples:jest | :samples:robot | :samples:demo
Build file 'P:\projects\contrib\github-mosaic\samples\jest\build.gradle': line 5
The org.gradle.api.plugins.ApplicationPluginConvention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#application_convention_deprecation
        at build_3tv3yi15cjhed4vkpewcfismx.run(P:\projects\contrib\github-mosaic\samples\jest\build.gradle:5)

Build file 'P:\projects\contrib\github-mosaic\samples\jest\build.gradle': line 5
The org.gradle.api.plugins.Convention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4/userguide/upgrading_version_8.html#deprecated_access_to_conventions
        at build_3tv3yi15cjhed4vkpewcfismx.run(P:\projects\contrib\github-mosaic\samples\jest\build.gradle:5)

* Ignore warning about Kotlin/Native, there's no way to build mac binaries on Linux and Windows, so no need to nag about it.

> Configure project :mosaic-runtime
w: The following Kotlin/Native targets cannot be built on this machine and are disabled:
macosArm64, macosX64
To hide this message, add 'kotlin.native.ignoreDisabledTargets=true' to the Gradle properties.

> Configure project :samples:counter
w: The following Kotlin/Native targets cannot be built on this machine and are disabled:
macosArm64, macosX64
To hide this message, add 'kotlin.native.ignoreDisabledTargets=true' to the Gradle properties.
2023-11-13 22:37:15 +00:00
201de77270 Migrate to AssertK (#245) 2023-11-13 19:35:57 +00:00
ec6c09eca2 Enable Spotless/ktlint formatting (#243) 2023-11-13 19:01:40 +00:00
f02173c4d1 Migrate to Poko from data classes (#240)
At least for those in public API.
2023-11-13 17:29:22 +00:00
a8e0d288d7 CompositionLocal for terminal size by Mordant (#230)
* CompositionLocal for terminal size by Mordant

The Mordant KMP library has been added to the mosaic-runtime module in commonMain, which allows you to interact with the cli.

This makes it possible to get the size of the terminal via `CompositionLocal` - `Terminal.current.size`.

* Use local variable for terminalInfo in loop with terminal size update

Co-authored-by: Jake Wharton <github@jakewharton.com>

---------

Co-authored-by: Jake Wharton <github@jakewharton.com>
2023-11-13 11:35:59 -05:00
313fd5c77c Update dependency androidx.compose.compiler:compiler to v1.5.4 (#238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 13:51:47 -05:00
1a68525c11 Update Kotlin and Compose (#235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 20:16:14 +00:00
3eda9ce44b Update dependency org.jetbrains.compose.runtime:runtime to v1.5.10 (#236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 16:39:45 +00:00
5f689df71e Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.9.10 (#231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 11:23:20 -04:00
959e78d737 Update dependency org.fusesource.jansi:jansi to v2.4.1 (#228)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 07:23:21 -04:00
5f1b192c31 Update dependency org.jetbrains.compose.runtime:runtime to v1.5.3 (#225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 16:22:36 -04:00
ac5001ec95 Update dependency gradle to v8.4 (#224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 22:16:47 +00:00
0e57cbe864 Update dependency org.jetbrains.compose.runtime:runtime to v1.5.2 (#223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 14:17:03 -04:00
a73f2afe01 Update dependency org.jetbrains.compose.runtime:runtime to v1.5.1 (#220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 09:26:29 -04:00
b4869a7acd Update Kotlin and Compose (#213)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-04 15:09:33 -04:00
e7519adf32 Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.9.0 (#218)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-31 21:58:17 +00:00
9b988f4ee2 Update dependency androidx.compose.compiler:compiler to v1.5.3 (#217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-29 22:01:11 -04:00
c4952daf0e Update dependency org.jetbrains.compose.runtime:runtime to v1.5.0 (#216)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-28 10:09:44 -04:00
2bd2264621 JetPack Compose compiler 1.5.1 (#215) 2023-08-25 22:09:33 +00:00
8060c1f510 Update dependency androidx.compose.compiler:compiler to v1.5.2 (#214)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 17:00:03 -04:00
4903feb1bb Update dependency gradle to v8.3 (#212)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 07:35:54 -04:00
c82b717dd4 Support custom version or coordinates for Compose compiler (#207)
Since this project does not build a Kotlin compiler plugin, we should not be forced to do a release for new versions of Kotlin. This property will allow consumers to upgrade their Kotlin version by specifying a newer JetBrains Compose compiler version, or a totally different set of Maven coordinates for a custom Compose compiler artifact.
2023-07-29 00:36:00 -04:00
ac346ebdb0 Update dependency org.jetbrains.compose.runtime:runtime to v1.4.3 (#205)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 20:22:15 -04:00
48d2c94ae5 Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.7.3 (#204)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 17:51:23 +00:00
8b1dfdea4e Update Kotlin and Compose to v1.9.0 (#199)
* Update Kotlin and Compose to v1.9.0

* Update libs.versions.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
2023-07-21 01:37:23 +00:00
557952416f Update dependency gradle to v8.2.1 (#202)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-10 12:39:27 -04:00
4fb839591a Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.3 (#198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-01 19:24:17 -04:00
88ecb501c1 Update dependency gradle to v8.2 (#197)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-30 19:36:15 -04:00
27e9b662e9 Update Kotlin and Compose (#193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-30 17:41:24 +00:00
0ecf76d261 Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.7.2 (#195)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 15:07:26 +00:00
b60aab6c13 Update Kotlin and Compose (#177)
* Update Kotlin and Compose

* Update libs.versions.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
2023-06-26 17:29:22 -04:00
9914ced9d9 Update dependency org.jetbrains.compose.runtime:runtime to v1.4.1 (#192)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 15:49:48 -04:00
10e91501df Update dependency com.google.truth:truth to v1.1.5 (#191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-18 12:44:01 -04:00
e162e5fa4c Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.8.20 (#188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-05 14:52:46 -04:00
06753906ff Update dependency com.google.truth:truth to v1.1.4 (#186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-30 17:15:08 +00:00
308f2d82c4 Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.7.1 (#175)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 18:19:35 -04:00
61207bfce5 Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.7.0 (#174)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 19:05:16 +00:00
cc216976f4 Update dependency gradle to v8.1.1 (#171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-21 13:34:23 +00:00
39ea3ea4f9 Update dependency org.jetbrains.compose.compiler:compiler to v1.4.5 (#166)
* Update dependency org.jetbrains.compose.compiler:compiler to v1.4.5

* Kotlin 1.8.20

* yarn.lock

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
2023-04-16 23:45:26 -04:00
a6398c98fe Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.2 (#169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-16 20:42:13 +02:00
fab320a2bb Update dependency org.jetbrains.compose.runtime:runtime to v1.4.0 (#168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 10:46:27 -04:00