Compile/Run issue Kotlin
Getting this when i try to build, run w/e., sorry if Im being stupid, tried gradlew fatjar, gradlew clean build, run, and --refresh-dependencies clean build. same msg
C:\poke3>gradlew.bat --refresh-dependencies clean build
:clean
:compileKotlin
e: C:\poke3\src\main\kotlin\ink\abb\pogo\scraper\tasks\Release.kt: (9, 1): Class 'Release' must be declared abstract or implement abstract member public abstract fun run(bot: Bot, ctx: Context, settings: Settings): Unit defined in ink.abb.pogo.scraper.Task
e: C:\poke3\src\main\kotlin\ink\abb\pogo\scraper\tasks\Release.kt: (10, 5): 'run' overrides nothing
e: C:\poke3\src\main\kotlin\ink\abb\pogo\scraper\tasks\Release.kt: (11, 44): Unresolved reference: pokebank
e: C:\poke3\src\main\kotlin\ink\abb\pogo\scraper\tasks\Release.kt: (11, 72): Unresolved reference: it
e: C:\poke3\src\main\kotlin\ink\abb\pogo\scraper\tasks\Release.kt: (12, 24): Cannot choose among the following candidates without completing type inference:
@HidesMembers public inline fun
FAILURE: Build failed with an exception.
Same here. I'm a dev and want to help out. Kotlin looks badass. Could you share your dev setup so we can get cracking?
are you running the lastest cuz i dont have a release.kt only a releasepokemon.kt
windows, have elclipse with kotlin plugin
i am talking about the latest source files not that
because there is no release.kt
https://github.com/jabbink/PokemonGoBot/tree/master/src/main/kotlin/ink/abb/pogo/scraper/tasks
This was it, I just cleaned project and recloned, think had old stuff in folder. Thanks
Am I daft for thinking I can dev from Windows?
just make a fresh clone and try again. make sure to have the config file done. worked for me now
@wartickler https://www.jetbrains.com/idea/