Skip to content

Commit

Permalink
Add maven plugin and migrate to kts
Browse files Browse the repository at this point in the history
  • Loading branch information
ligi committed Dec 30, 2021
1 parent 70f175e commit bec23db
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
12 changes: 0 additions & 12 deletions model/build.gradle

This file was deleted.

23 changes: 23 additions & 0 deletions model/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
plugins {
id("com.google.devtools.ksp").version("1.6.10-1.0.2")
id("maven-publish")
}

publishing {
publications {
create<MavenPublication>("maven") {
version = "1.0"

from(components["java"])
}
}
}

dependencies {
ksp("com.squareup.moshi:moshi-kotlin-codegen:1.13.0")
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.6.10")

implementation("com.squareup.moshi:moshi:1.13.0")
implementation("com.squareup.okhttp3:okhttp:4.9.3")
}

0 comments on commit bec23db

Please sign in to comment.