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")