I'm trying to use "testing-plugin" in module "idea...
# arrow-meta
j
I'm trying to use "testing-plugin" in module "idea-plugin". The build is failing because it can't locate
com.github.arrow-kt:kotlin-compile-testing:1.2.3-SNAPSHOT
. I've tried
1.3.0
and also
com.github.tschuchortdev:kotlin-compile-testing:1.2.3-SNAPSHOT
, but this also failed. I've seen the thread above, but
1.3.0
doesn't seem to work here. Is there a way to make this work? @Imran/Malic
a
I've been having the same issues yesterday @Joachim Ansorg
j
were you able to find a solution?
a
not yet
I think the issues lies with something about the maven artifact made for jitpack
My build times are rather slow sadly, but what I might try next is just trying out jitpack with the github version and whatever the newest release is
i
You can press the offiline button in gradle and you geht back your normal build time. This worked for us
💯 1
@Joachim Ansorg Sorry I dont know either what to do we can focus on the alpha release blockers if that makes sense
a
Keep the snapshot the same then?
j
let me try one last thing here. I'd like to finish this work, if possible
I think I've found a workaround: 1. clone https://github.com/tschuchortdev/kotlin-compile-testing 2.
cd kotlin-compile-testing
3.
gradle clean build publish
4. add
mavenLocal()
to the
repositories {}
in
testing-plugin
5. change the dependency in
testing-plugin
to
implementation "com.github.tschuchortdev:kotlin-compile-testing:1.2.4-SNAPSHOT"
5. gradle should now be able to build this thing in offline mode
a
excellent! I'll try try this out then. I have to commute and there's some traffic but I'm going to try this in roughly an hour