Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,40 @@
# 0.4.0
_date_
_2025-12-29_

New `gradle(String)` helper. New, more granular, way to enable/disable the dependencies checks. As well as a couple of important fixes for Android.

## Add `TapmocExtension.gradle(String)` (#35)

`TapmocExtension.gradle(String)` makes it easy to configure compatibility for your Gradle plugins:

```kotlin
tapmoc {
// Sets Java and Kotlin flags according to
// https://docs.gradle.org/current/userguide/compatibility.html
/**
* Sets Java and Kotlin flags according to
* https://docs.gradle.org/current/userguide/compatibility.html
*
* This is equivalent to calling `java(8)` and `kotlin("1.8.0")`
*/
gradle("8.14")
}
```

## `checkDependencies()` does not check the `kotlin-stdlib` version by default anymore (#74).

`kotlin-stdlib` can be safely upgraded in most cases (Gradle plugins is the exception) and calling `checkDependencies()` does not enable it any more.
`kotlin-stdlib` can be safely upgraded in most cases (Gradle plugins is the exception). Calling `checkDependencies()` does not check for mismatched `kotlin-stdlib` versions anymore.

## add `checkJavaClassFiles()`, `checkKotlinMetadata()` and `checkKotlinStdlibs()` (#74).

You may now enable/disable check individually. `checkDependencies()` calls `checkJavaClassFiles()`
and `checkKotlinMetadata()`.
You may now enable/disable check individually. `checkDependencies()` is still present and calls both `checkJavaClassFiles()`and `checkKotlinMetadata()`.

## All changes

* [NEW] Add `TapmocExtension.gradle()` for configuring Gradle plugins (#35)
* [NEW] Checking for `kotlin-stdlib` versions in dependencies is now a separate check (#74)
* [NEW] Fail if the requested Kotlin version is higher than the KGP version (#72)
* [UPDATE] Update Gratatouille (#75)
* [FIX] Fix getting the java-api and java-runtime for Android (#74)
* [FIX] Fix downgrading the `kotlin-stdlib` version for Android (#74)

# 0.3.2
_2025-12-16_
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ plugins {
id("com.android.library")
// etc...
// And add the Tapmoc plugin
id("com.gradleup.tapmoc").version("0.3.2")
id("com.gradleup.tapmoc").version("0.4.0")
}

/*
Expand Down
2 changes: 1 addition & 1 deletion librarian.root.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kotlin.compatibility=2.0.21
kdoc.olderVersions=

pom.groupId=com.gradleup.tapmoc
pom.version=0.4.0-SNAPSHOT
pom.version=0.4.1-SNAPSHOT
pom.description=tapmoc
pom.vcsUrl=https://github.com/GradleUp/tapmoc
pom.developer=tapmoc authors
Expand Down