Skip to content

Commit

Permalink
Release 1.9.20-Beta2 compatible version
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso committed Sep 28, 2023
1 parent 1849891 commit a96d825
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 28 deletions.
2 changes: 1 addition & 1 deletion compiler-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile


val enableSigning = project.hasProperty("ORG_GRADLE_PROJECT_signingInMemoryKey")
val enableSigning = project.hasProperty("signingInMemoryKey")

plugins {
kotlin("jvm")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ class CreateFuncTransformer(

//Set _ExampleApiImpl() as argument for create<ExampleApi>()
irCall.putValueArgument(0, newCall)
debugLogger.log(
"Transformed " + argumentType.toIrBasedKotlinType().toString() + " to _$className" + "Impl"
)
return super.visitExpression(irCall)
}
}
Expand Down
4 changes: 2 additions & 2 deletions example/MultiplatformExample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ buildscript {
repositories {
gradlePluginPortal()
google()
// mavenLocal()
mavenLocal()
mavenCentral()
}
dependencies {
Expand All @@ -16,7 +16,7 @@ buildscript {
allprojects {
repositories {
google()
// mavenLocal()
mavenLocal()
mavenCentral()
}
}
4 changes: 2 additions & 2 deletions example/MultiplatformExample/shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ plugins {
id("com.android.library")
id("com.google.devtools.ksp") version "1.9.10-1.0.13"
id("kotlinx-serialization")
id("de.jensklingenberg.ktorfit") version "1.7.0"
id("de.jensklingenberg.ktorfit") version "1.7.0-1.9.20-Beta2"
}

version = "1.0"
val ktorVersion = "2.3.4"
val ktorfitVersion = "1.7.0"
val ktorfitVersion = "1.7.0-1.9.20-Beta2"

kotlin {
jvmToolchain(8)
Expand Down
11 changes: 1 addition & 10 deletions gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "de.jensklingenberg.ktorfit"
version = "1.7.0"
version = "1.7.0-1.9.20-Beta2"


allprojects {
Expand Down Expand Up @@ -49,20 +49,11 @@ gradlePlugin {
}
}

tasks.register("sourcesJar", Jar::class) {
group = "build"
description = "Assembles Kotlin sources"

archiveClassifier.set("sources")
from(sourceSets.main.get().allSource)
dependsOn(tasks.classes)
}

publishing {
publications {
create<MavenPublication>("default") {
from(components["java"])
artifact(tasks["sourcesJar"])

pom {
name.set("ktorfit-gradle-plugin")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ open class KtorfitGradleConfiguration {
/**
* version number of the compiler plugin
*/
var version: String = "1.7.0" // remember to bump this version before any release!
var version: String = "1.7.0-1.9.20-Beta2" // remember to bump this version before any release!

/**
* used to get debug information from the compiler plugin
Expand Down
11 changes: 6 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ coroutines = "1.7.3"
detekt = "1.23.1"
gradlePlugin = "1.7.0"
kctfork = "0.3.2"
kotlin = "1.9.10"
kotlin = "1.9.20-Beta2"
kotlinPoet = "1.14.2"
kspVersion = "1.9.10-1.0.13"
ktorfit = "1.7.0"
ktorfit-lib = "1.7.0"
kspVersion = "1.9.20-Beta2-1.0.13"
ktorfit = "1.7.0-1.9.20-Beta2"
ktorfit-lib = "1.7.0-1.9.20-Beta2"
ktorVersion = "2.3.4"
gradleMavenPublishPlugin = "0.25.3"
vannikMavenPublish = "0.25.3"
kotlin-serialization = "1.9.10"

[libraries]
android-build-gradle = "com.android.tools.build:gradle:7.4.2"
Expand All @@ -24,7 +25,7 @@ junit = "junit:junit:4.13.2"
kctfork-core = { module = "dev.zacsweers.kctfork:core", version.ref = "kctfork" }
kctfork-ksp = { module = "dev.zacsweers.kctfork:ksp", version.ref = "kctfork" }
kotlin-compiler-embeddable = { module = "org.jetbrains.kotlin:kotlin-compiler-embeddable", version.ref = "kotlin" }
kotlin-serialization = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlin" }
kotlin-serialization = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlin-serialization" }
kotlinPoet = { module = "com.squareup:kotlinpoet", version.ref = "kotlinPoet" }
kotlinPoet-ksp = { module = "com.squareup:kotlinpoet-ksp", version.ref = "kotlinPoet" }
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
Expand Down
2 changes: 1 addition & 1 deletion ktorfit-annotations/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ android {
namespace = "de.jensklingenberg.ktorfit.annotations"
}

val enableSigning = project.hasProperty("ORG_GRADLE_PROJECT_signingInMemoryKey")
val enableSigning = project.hasProperty("signingInMemoryKey")

mavenPublishing {
coordinates(
Expand Down
2 changes: 1 addition & 1 deletion ktorfit-ksp/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

val enableSigning = project.hasProperty("ORG_GRADLE_PROJECT_signingInMemoryKey")
val enableSigning = project.hasProperty("signingInMemoryKey")

plugins {
kotlin("jvm")
Expand Down
2 changes: 1 addition & 1 deletion ktorfit-lib-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ detekt {
buildUponDefaultConfig = false
}

val enableSigning = project.hasProperty("ORG_GRADLE_PROJECT_signingInMemoryKey")
val enableSigning = project.hasProperty("signingInMemoryKey")

mavenPublishing {

Expand Down
2 changes: 1 addition & 1 deletion ktorfit-lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ licensee {
}


val enableSigning = project.hasProperty("ORG_GRADLE_PROJECT_signingInMemoryKey")
val enableSigning = project.hasProperty("signingInMemoryKey")

mavenPublishing {

Expand Down

0 comments on commit a96d825

Please sign in to comment.