Skip to content

Commit

Permalink
Prepare for release 0.8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Oct 2, 2024
1 parent 4375a29 commit 9e8f3a7
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
java-version: '22'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
Changelog
=========

0.8.0
-----

_2024-10-02_

- **Enhancement**: Tweak explanation for default dispatcher use in rx<->flow interop.
- **Enhancement**: Switch to stable kotlin-metadata artifact
- **Fix**: Allow Dagger providers to be called from test sources.
- Build against lint `8.8.0-alpha04`.
- Update `api`/`minApi` to `16` (Lint 8.7.0+).
- Build against Kotlin `2.0.20`.
- Target Kotlin language version `1.9` in lint-checks (imposed by lint), `2.0` in lint-annotations.

0.7.3
-----

Expand Down
5 changes: 4 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import com.vanniktech.maven.publish.MavenPublishBaseExtension
import io.gitlab.arturbosch.detekt.Detekt
import org.jetbrains.dokka.gradle.DokkaTaskPartial
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
Expand Down Expand Up @@ -91,8 +92,10 @@ subprojects {
jvmTarget.set(JvmTarget.fromTarget(jvmTargetString))
// TODO re-enable on checks if lint ever targets latest kotlin versions
if (isChecksProject) {
// Lint forces Kotlin 1.9 still
languageVersion.set(KotlinVersion.KOTLIN_1_9)
} else {
allWarningsAsErrors.set(true)
// progressiveMode.set(true)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ POM_DEVELOPER_ID=slackhq
POM_DEVELOPER_NAME=Slack Technologies, LLC.
POM_DEVELOPER_URL=https://github.com/slackhq
POM_INCEPTION_YEAR=2021
VERSION_NAME=1.0.0-SNAPSHOT
VERSION_NAME=0.8.0
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
kotlin = "2.0.20"
ktfmt = "0.52"
jdk = "21"
jdk = "22"
# lint checks must target JDK 17, but the runtime should remain 11
lintJvmTarget = "17"
runtimeJvmTarget = "11"
Expand Down
4 changes: 2 additions & 2 deletions slack-lint-checks/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ POM_ARTIFACT_ID=slack-lint-checks
POM_NAME=Slack Lint Checks
POM_DESCRIPTION=Slack lint checks.

# Kotlin adds the stdlib dep by default in 1.4.0+, but that's not really allowed in lint jars. This
# disables that behavior for now
# Opt-out flag for bundling Kotlin standard library because Lint forces its own version
# See https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#kotlin-standard-library
kotlin.stdlib.default.dependency=false

0 comments on commit 9e8f3a7

Please sign in to comment.