Hi,
I have published an sbt scala project (a compiler plugin + library) to Bintray and I’m not sure how to add it into another sbt project with “addCompilerPlugin”. I can’t seem to find proper explanations of what should be included in the “addCompilerPlugin” command.
My plugin/library is up at https://bintray.com/aliceravier/maven/scala-mungo-prototype/1.0#.
I have tried adding:
resolvers += Resolver.bintrayRepo(“aliceravier”, “maven”)
autoCompilerPlugins := true
addCompilerPlugin(“com.bintray.api” %% “scala-mungo-prototype_2.13” % “1.0”)
in “build.sbt”, but sbt cannot extract the project structure when I add the third line (addCompilerPlugin).
It gives me this output in the log file:
2020-10-27 13:52:46,866 [76622069] INFO - System.util.ExternalSystemUtil - External project [C:/Year five/Project/OnlineTestPlugin] resolution task started
2020-10-27 13:52:59,801 [76635004] INFO - System.util.ExternalSystemUtil - External project [C:/Year five/Project/OnlineTestPlugin] resolution task executed in 12935 ms.
2020-10-27 13:53:00,166 [76635369] INFO - ge.ExternalProjectsDataStorage - Save external projects data in 20 ms
2020-10-27 13:53:07,527 [76642730] INFO - rationStore.ComponentStoreImpl - Saving Project(name=Scala-Mungo-Prototype, containerState=ACTIVE, componentStore=C:\Year five\Project\Scala-Mungo\Scala-Mungo-Prototype)RunManager took 11 ms
2020-10-27 13:53:18,966 [76654169] INFO - System.util.ExternalSystemUtil - External project [C:/Year five/Project/OnlineTestPlugin] resolution task started
2020-10-27 13:53:29,990 [76665193] INFO - dea.updater.SdkComponentSource - File C:\Users\Alice.android\repositories.cfg could not be loaded.
2020-10-27 13:53:29,992 [76665195] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/addons_list-3.xml
2020-10-27 13:53:30,495 [76665698] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/android/sys-img2-1.xml
2020-10-27 13:53:30,495 [76665698] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/repository2-1.xml
2020-10-27 13:53:30,495 [76665698] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/android-automotive/sys-img2-1.xml
2020-10-27 13:53:30,495 [76665698] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/addon2-1.xml
2020-10-27 13:53:30,495 [76665698] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/android-tv/sys-img2-1.xml
2020-10-27 13:53:30,505 [76665708] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/glass/addon2-1.xml
2020-10-27 13:53:30,505 [76665708] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/android-wear/sys-img2-1.xml
2020-10-27 13:53:30,505 [76665708] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/android-wear-cn/sys-img2-1.xml
2020-10-27 13:53:30,505 [76665708] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/google_apis_playstore/sys-img2-1.xml
2020-10-27 13:53:30,505 [76665708] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/extras/intel/addon2-1.xml
2020-10-27 13:53:30,505 [76665708] INFO - dea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/google_apis/sys-img2-1.xml
2020-10-27 13:53:30,851 [76666054] INFO - System.util.ExternalSystemUtil - External project [C:/Year five/Project/OnlineTestPlugin] resolution task executed in 11885 ms.
2020-10-27 13:53:31,186 [76666389] INFO - ge.ExternalProjectsDataStorage - Save external projects data in 10 ms
2020-10-27 13:53:38,866 [76674069] INFO - System.util.ExternalSystemUtil - External project [C:/Year five/Project/OnlineTestPlugin] resolution task started
2020-10-27 13:54:04,086 [76699289] INFO - System.util.ExternalSystemUtil - External project [C:/Year five/Project/OnlineTestPlugin] resolution task executed in 25220 ms.
2020-10-27 13:54:04,425 [76699628] INFO - ge.ExternalProjectsDataStorage - Save external projects data in 0 ms
2020-10-27 13:54:32,455 [76727658] INFO - System.util.ExternalSystemUtil - External project [C:/Year five/Project/OnlineTestPlugin] resolution task started
2020-10-27 13:54:34,661 [76729864] INFO - rationStore.ComponentStoreImpl - Saving appEditorSettings took 15 ms
2020-10-27 13:54:45,145 [76740348] INFO - System.util.ExternalSystemUtil - External project [C:/Year five/Project/OnlineTestPlugin] resolution task executed in 12690 ms.
2020-10-27 13:54:45,605 [76740808] INFO - ge.ExternalProjectsDataStorage - Save external projects data in 90 ms
2020-10-27 13:55:32,795 [76787998] INFO - System.util.ExternalSystemUtil - External project [C:/Year five/Project/OnlineTestPlugin] resolution task started
2020-10-27 13:55:45,665 [76800868] INFO - System.util.ExternalSystemUtil - External project [C:/Year five/Project/OnlineTestPlugin] resolution task executed in 12870 ms.
2020-10-27 13:55:46,015 [76801218] INFO - ge.ExternalProjectsDataStorage - Save external projects data in 10 ms
2020-10-27 14:21:56,199 [78371402] INFO - System.util.ExternalSystemUtil - External project [C:/Year five/Project/OnlineTestPlugin] resolution task started
2020-10-27 14:22:13,903 [78389106] INFO - System.util.ExternalSystemUtil - External project [C:/Year five/Project/OnlineTestPlugin] resolution task executed in 17704 ms.
2020-10-27 14:22:14,258 [78389461] INFO - ge.ExternalProjectsDataStorage - Save external projects data in 10 ms
2020-10-27 14:22:45,738 [78420941] INFO - .script.IdeScriptEngineManager - javax.script.ScriptEngineManager initialized in 259 ms
2020-10-27 14:23:00,358 [78435561] INFO - j.ide.actions.RevealFileAction - Exit code 1
2020-10-27 14:26:32,547 [78647750] INFO - j.ide.actions.RevealFileAction - Exit code 1