-
Notifications
You must be signed in to change notification settings - Fork 686
Conversation
Not sure why, but the later the version of Kotlin the app uses, more methods are not found.
@@ -1,6 +1,6 @@ | |||
plugins { | |||
id 'java' | |||
id 'org.jetbrains.kotlin.jvm' version '1.3.41' | |||
id 'org.jetbrains.kotlin.jvm' version '1.3.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note about the version numbers: As I update the version to the later ones, it struggles to find various members. So, I just dropped it all the way down. Not sure what is happening here, but it works now...
@@ -20,6 +20,9 @@ class ProcessXmlCommand : CliktCommand(name = "KotlinBindingSupport") { | |||
val outputFile: File? by option("-o", "--output", help = "path to the output transform file") | |||
.file(fileOkay = true, folderOkay = false) | |||
|
|||
val ignoreFile: File? by option("-i", "--ignore", help = "path to the ignore file") | |||
.file(fileOkay = true, folderOkay = false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't actually thing this is needed anymore since it is working properly with a lower Kotlin version, but just in case.
@@ -196,13 +203,13 @@ class Processor(xmlFile: File, jarFiles: List<File>, outputFile: File?) { | |||
|
|||
// remove the members that are not meant to be used | |||
processMembers(xclass, "constructor") { | |||
shouldRemoveMember(it, jclass.declaredConstructors) | |||
shouldRemoveMember(it, jclass.declaredConstructors + jclass.constructors) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still a required change because several members are not found for some reason. It works now, so...
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
This reverts commit 238ae5c.
This reverts commit e3c55a9.
This was a failure, re-doing it: #689 |
No description provided.