Skip to content

Commit

Permalink
Merge pull request #17 from dzmpr/feat/TRCKR-T-11_update_ksp
Browse files Browse the repository at this point in the history
TRCKR-MR-11 update ksp
  • Loading branch information
dzmpr authored Jun 9, 2023
2 parents aadb78f + 4ed1cd1 commit 1a8e23f
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 31 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ flowchart TD;
1. Add KSP plugin to your module's `build.gradle.kts`:
```kotlin
plugins {
id("com.google.devtools.ksp") version "1.8.21-1.0.11"
id("com.google.devtools.ksp") version "1.8.22-1.0.11"
}
```
2. Add `Maven Central` to the repositories blocks in your project's `build.gradle.kts`:
Expand All @@ -55,8 +55,8 @@ repositories {
3. Add `trckr` dependencies:
```kotlin
dependencies {
implementation("ru.cookedapp.trckr:trckr-core:1.1.1")
ksp("ru.cookedapp.trckr:trckr-processor:1.1.1")
implementation("ru.cookedapp.trckr:trckr-core:1.1.2")
ksp("ru.cookedapp.trckr:trckr-processor:1.1.2")
}
```
4. Add KSP source path:
Expand Down
4 changes: 0 additions & 4 deletions build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ plugins {
`kotlin-dsl`
}

repositories {
gradlePluginPortal()
}

dependencies {
implementation(libs.publishing.plugin)
}
7 changes: 7 additions & 0 deletions build-logic/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
dependencyResolutionManagement {
// Configure repositories
// TODO: find mystery 'ivy' repository
repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
repositories {
gradlePluginPortal()
}
// Configure version catalog
versionCatalogs {
create("libs") {
from(files("../libs.versions.toml"))
Expand Down
7 changes: 0 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.ksp) apply false
alias(libs.plugins.kotlin.jvm) apply false
Expand All @@ -13,9 +12,3 @@ apiValidation {
}
nonPublicMarkers.add("ru.cookedapp.trckr.core.annotations.internal.TrckrInternal")
}

allprojects {
repositories {
mavenCentral()
}
}
6 changes: 3 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
### Changelog
* Update project dependencies.
* Update Kotlin and KSP.

### Dependencies
| Dependency | Version |
|------------|:---------------:|
| Kotlin | `1.8.21` |
| KSP | `1.8.21-1.0.11` |
| Kotlin | `1.8.22` |
| KSP | `1.8.22-1.0.11` |
4 changes: 2 additions & 2 deletions libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
kotlin = "1.8.21"
ksp = "1.8.21-1.0.11"
kotlin = "1.8.22"
ksp = "1.8.22-1.0.11"
kotlinpoet = "1.13.2"
publishing = "0.25.2"
mockk = "1.13.5"
Expand Down
8 changes: 7 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

rootProject.name = "trckr"

includeBuild("build-logic")
Expand All @@ -7,6 +6,13 @@ include("trckr-processor")
include("trckr-demo")

dependencyResolutionManagement {
// Configure repositories
// TODO: find mystery 'ivy' repository
repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
repositories {
mavenCentral()
}
// Configure version catalog
versionCatalogs {
create("libs") {
from(files("./libs.versions.toml"))
Expand Down
1 change: 0 additions & 1 deletion trckr-core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

@Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.kotlin.multiplatform)
id("trckr-artifact")
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion trckr-demo/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

@Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.ksp)
Expand Down
1 change: 0 additions & 1 deletion trckr-processor/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.kotlin.multiplatform)
id("trckr-artifact")
Expand Down
2 changes: 1 addition & 1 deletion trckr.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.1
1.1.2

0 comments on commit 1a8e23f

Please sign in to comment.