https://kotlinlang.org logo
#announcements
Title
# announcements
n

nyxcode

09/03/2017, 1:41 PM
Hey, I could really use some help! After adding an other module to my project, its compilation fails because the compiler does not find an extension function in an other module - really, really strange - only the extension functions are not found. I'd appreciate if someone with 1 or 2 minutes spare time could look at it ( : GitHub: https://github.com/knyxcs/knyxcs CI: https://travis-ci.org/knyxcs/knyxcs
h

horse_badorties

09/03/2017, 2:15 PM
not a gradle expert myself whatsoever, but I noticed that you are using different
kotlin_version
in your
build.gradle
files. The latest version is
kotlin_version = '1.1.4-3'
AFAIK. And why do you have
apply plugin: 'java'
alongside
apply plugin: 'kotlin'
?
n

nyxcode

09/03/2017, 4:22 PM
I removed
apply plugin: 'java'
in every buildfile and upgraded to
1.1.4-3
- same issue
I deleted the module and created a new one, still, same issue...
In module
A
, I can not use an extension function from module
B
which extends a type from module
C
.
In my project,
A
is
plugins/broadcast
,
B
is
blugins/commandsapi/commandsmaster
and
C
is
Master
'_' ok, I fixed it.
3 Views