Skip to content

Commit

Permalink
Update dependency versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteckman committed Jan 26, 2024
1 parent ccc830b commit e7f7b2e
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 15 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.5.2]

### Changed
- Update Compose to version 1.6.0-beta01.
- Update Kotlin to version 1.9.22

## [0.5.1]

### Fixed
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Maven Central](https://img.shields.io/maven-central/v/io.github.koalaplot/koalaplot-core?color=278ec7)](https://central.sonatype.com/artifact/io.github.koalaplot/koalaplot-core)
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.21-278ec7.svg?logo=kotlin)](http://kotlinlang.org)
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.22-278ec7.svg?logo=kotlin)](http://kotlinlang.org)
[![Dokka docs](https://img.shields.io/badge/docs-dokka-278ec7)](https://koalaplot.github.io/koalaplot-core/api/0.5.1/)
[![License MIT](https://img.shields.io/badge/license-MIT-278ec7.svg)](https://github.com/KoalaPlot/koalaplot-core/tree/main/LICENSE.txt)

Expand Down Expand Up @@ -75,7 +75,7 @@ repositories {

```kotlin
dependencies {
implementation("io.github.koalaplot:koalaplot-core:0.5.1")
implementation("io.github.koalaplot:koalaplot-core:0.5.2")
}
```

Expand Down Expand Up @@ -107,8 +107,8 @@ the [samples](https://koalaplot.github.io/koalaplot-samples).

# Documentation

- [Latest build](https://koalaplot.github.io/koalaplot-core/api/0.5.1)
- [Release 0.5.1](https://koalaplot.github.io/koalaplot-core/api/0.5.1)
- [Latest build](https://koalaplot.github.io/koalaplot-core/api/0.5.2)
- [Release 0.5.2](https://koalaplot.github.io/koalaplot-core/api/0.5.2)

Also see the [sample repository](https://github.com/KoalaPlot/koalaplot-samples) for code examples.

Expand Down
12 changes: 6 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies {
}

group = "io.github.koalaplot"
version = "0.5.1"
version = "0.5.2"

kotlin {
explicitApi()
Expand Down Expand Up @@ -69,7 +69,7 @@ kotlin {
}

named("jvmMain") {
dependsOn(commonMain)
// dependsOn(commonMain)

dependencies {

Expand All @@ -89,10 +89,10 @@ kotlin {
val iosArm64Main by getting
val iosSimulatorArm64Main by getting
create("iosMain") {
dependsOn(commonMain)
iosX64Main.dependsOn(this)
iosArm64Main.dependsOn(this)
iosSimulatorArm64Main.dependsOn(this)
// dependsOn(commonMain)
// iosX64Main.dependsOn(this)
// iosArm64Main.dependsOn(this)
// iosSimulatorArm64Main.dependsOn(this)

dependencies { }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ public fun <T> PolarGraph(
}

/**
* Transforms [inputAngle] to start at 3 O'Clock and increment counter-clockwise like
* the normal mathematical convention.
* Transforms [inputAngle] based on the [AngularAxisModel] settings to be in the coordinate system of the screen where
* 0-degrees is at the 3 O'Clock position and angles increment clockwise.
*/
private fun <T> AngularAxisModel<T>.toPolarAngle(inputAngle: AngularValue): AngularValue {
val sign = if (angleDirection == AngularAxisModel.AngleDirection.CLOCKWISE) {
Expand All @@ -199,7 +199,7 @@ private fun <T> polarToCartesianPlot(
radialAxisModel: FloatRadialAxisModel,
size: Size
): Offset {
// Transform the angle to where 0 is at the 12 O'Clock position.
// Transform the angle to screen coordinates.
val theta = angularAxisModel.toPolarAngle(angularAxisModel.computeOffset(point.theta))

val r = min(size.width / 2, size.height / 2) * radialAxisModel.computeOffset(point.r)
Expand Down
7 changes: 5 additions & 2 deletions versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@
## unused
plugin.android=8.1.1

version.kotlin=1.9.21
version.kotlin=1.9.22
## # available=2.0.0-Beta1
## # available=2.0.0-Beta2
## # available=2.0.0-Beta3

version.kotlinx.coroutines=1.7.3
## # available=1.8.0-RC
## # available=1.8.0-RC2

plugin.org.jetbrains.compose=1.6.0-alpha01
plugin.org.jetbrains.compose=1.6.0-beta01

version.org.jetbrains.dokka..dokka-base=1.9.10

Expand Down

0 comments on commit e7f7b2e

Please sign in to comment.