Skip to content

3.1.0

Compare
Choose a tag to compare
@adriangl adriangl released this 18 Sep 19:33
· 6 commits to master since this release
a5f913d

Added

  • Add EXPERIMENTAL support for Kotlin Symbol Processing (KSP). Be mindful of the gotchas.
    You can use KAPT as usual or use KSP by doing the following:
Groovy

Add this to your main build.gradle:

buildscript {
    ext {
        ksp_version = "1.7.0-1.0.6"
    }

    dependencies {
        classpath "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:$ksp_version"
    }
}

And this to your module's build.gradle

apply plugin: "com.google.devtools.ksp"

ksp "com.github.hyperdevs-team.mini-kotlin:mini-processor:$mini_version"
Kotlin

Add this to your main build.gradle.kts:

buildscript {
    dependencies {
        val kspVersion = "1.7.0-1.0.6"
        classpath("com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:${kspVersion}")
    }
}

And this to your module's build.gradle.kts

plugins {
    id "com.google.devtools.ksp"
}

ksp("com.github.hyperdevs-team.mini-kotlin:mini-processor:${miniVersion}")

Changed

  • Update all project dependencies.
  • Update documentation.