mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
Add maven plugin and migrate to kts
This commit is contained in:
parent
70f175e5e1
commit
bec23dbc0a
|
@ -1,12 +0,0 @@
|
||||||
plugins {
|
|
||||||
id("com.google.devtools.ksp").version("1.6.10-1.0.2")
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
ksp("com.squareup.moshi:moshi-kotlin-codegen:1.13.0")
|
|
||||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:${KOTLIN_VERSION}"
|
|
||||||
|
|
||||||
implementation 'com.squareup.moshi:moshi:1.13.0'
|
|
||||||
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
|
|
||||||
}
|
|
||||||
|
|
23
model/build.gradle.kts
Normal file
23
model/build.gradle.kts
Normal file
|
@ -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")
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user