From 96dc6321141dc883f726697c9c192e14e466d89e Mon Sep 17 00:00:00 2001 From: Sven Braune Date: Thu, 24 Aug 2023 14:16:10 +0200 Subject: [PATCH] # removed invalid modifier --- remoter/build.gradle | 2 +- .../src/main/java/remoter/compiler/kbuilder/KClassBuilder.kt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/remoter/build.gradle b/remoter/build.gradle index 162724f..6b7ff00 100644 --- a/remoter/build.gradle +++ b/remoter/build.gradle @@ -22,7 +22,7 @@ dependencies { compileOnly("net.ltgt.gradle.incap:incap:0.2") annotationProcessor("net.ltgt.gradle.incap:incap-processor:0.2") - api 'com.squareup:kotlinpoet:1.5.0' + api 'com.squareup:kotlinpoet:1.13.2' compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" compileOnly 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3' diff --git a/remoter/src/main/java/remoter/compiler/kbuilder/KClassBuilder.kt b/remoter/src/main/java/remoter/compiler/kbuilder/KClassBuilder.kt index 9289ba8..7f4289a 100755 --- a/remoter/src/main/java/remoter/compiler/kbuilder/KClassBuilder.kt +++ b/remoter/src/main/java/remoter/compiler/kbuilder/KClassBuilder.kt @@ -43,7 +43,6 @@ internal class KClassBuilder(element: Element, bindingManager: KBindingManager) .primaryConstructor(FunSpec.constructorBuilder() .addParameter(ParameterSpec.builder("remoteBinder", ClassName("android.os", "IBinder").copy(true)) - .addModifiers(KModifier.PRIVATE) .build()).build()) .addProperty(PropertySpec.builder("remoteBinder", ClassName("android.os", "IBinder")