Skip to content

Commit ae0fa37

Browse files
authored
Add KSP support + update libs (#56)
1 parent 8faa856 commit ae0fa37

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1698
-676
lines changed

CHANGELOG.md

+56-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,60 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818
### Security
1919
- No security issues fixed!
2020

21+
## [3.1.0] - 2022-09-18
22+
### Added
23+
- Add **EXPERIMENTAL** support for Kotlin Symbol Processing (KSP). Be mindful of [the gotchas](README.md#ksp-gotchas).
24+
You can use KAPT as usual or use KSP by doing the following:
25+
<details open><summary>Groovy</summary>
26+
27+
Add this to your main `build.gradle`:
28+
```groovy
29+
buildscript {
30+
ext {
31+
ksp_version = "1.7.0-1.0.6"
32+
}
33+
34+
dependencies {
35+
classpath "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:$ksp_version"
36+
}
37+
}
38+
```
39+
40+
And this to your module's `build.gradle`
41+
```groovy
42+
apply plugin: "com.google.devtools.ksp"
43+
44+
ksp "com.github.hyperdevs-team.mini-kotlin:mini-processor:$mini_version"
45+
```
46+
47+
</details>
48+
49+
<details><summary>Kotlin</summary>
50+
51+
Add this to your main `build.gradle.kts`:
52+
```kotlin
53+
buildscript {
54+
dependencies {
55+
val kspVersion = "1.7.0-1.0.6"
56+
classpath("com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:${kspVersion}")
57+
}
58+
}
59+
```
60+
And this to your module's `build.gradle.kts`
61+
```groovy
62+
plugins {
63+
id "com.google.devtools.ksp"
64+
}
65+
66+
ksp("com.github.hyperdevs-team.mini-kotlin:mini-processor:${miniVersion}")
67+
```
68+
69+
</details>
70+
71+
### Changed
72+
- Update all project dependencies.
73+
- Update documentation.
74+
2175
## [3.0.0] - 2021-06-10
2276
### Changed
2377
- BREAKING CHANGE: Remove RX packages, moved API to full coroutines.
@@ -26,8 +80,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2680

2781
## [2.0.0] - 2021-05-01
2882
### Changed
29-
- Changed repo ownership to [hyperdevs-team](https://github.com/hyperdevs-team). Thanks [bq](https://github.com/bq) for all the work!
30-
- Changed package names from `com.bq.*` to `com.hyperdevs.*`
83+
- Change repo ownership to [hyperdevs-team](https://github.com/hyperdevs-team). Thanks [bq](https://github.com/bq) for all the work!
84+
- Change package names from `com.bq.*` to `com.hyperdevs.*`
3185

3286
## [1.4.0] - 2020-12-15
3387
### Added

0 commit comments

Comments
 (0)