Similar to the above ^ Watched adb podcast and dro...
# jewel
c
Similar to the above ^ Watched adb podcast and droidcon italy video. git pull the jewel repo. opened it in android studio (becausei want to make a studio plugin) but i dont even know how to run the plugin. which one of these configurations should i use?
s
"Sample" sounds promising, but also, why not try them all until one works? 😅
c
had to comment out
Copy code
//gitHooks {
//    hook("pre-push") {
//        from(shebang) {
//            // language=Shell Script
//            """
//            |#### Note: this hook was autogenerated. You can edit it in settings.gradle.kts
//            |GRADLEW=$gradleCommand
//            |if ! ${'$'}GRADLEW ktfmtCheck ; then
//            |  ${'$'}GRADLEW ktfmtFormat
//            |  echo 1>&2 "\nktfmt found problems; commit the result and re-push"
//            |  exit 1
//            |fi
//            |
//            """
//                .trimMargin()
//        }
//    }
//
//    createHooks(overwriteExisting = true)
//}
and now it launches. woot.
gradle gonna gradle
What's the artifact that I get out of this that I can share with my team? Is it just some plugin.zip that I can send over to a teammate?
c
You should take a look at IDE sample since it has a simple scaffold for an IntelliJ Plugin.
c
yep. i can actually run and edit the ide sample! now i just want to know how to give it to my teammate. is there a zip that i can send over to my android teammate that is generated from the ide sample?
c
Given it’s an IntelliJ plugin, I think you just use the regular IntelliJ Plugin SDK tasks?
Which produces a zip that you can pass along. It is possible that it might not work if you don’t share the same IntelliJ versions, as Jewel is tied to specific IntelliJ Platform versions. @seb would know more here though, if you run into issues.
s
The readme should do a decent job at explaining that 🙂
😅 1
c
@Chris Sinco [G] thanks! and yeah i just dont do plugin development so all of this is pretty new to me. im a simple man. i see a talk. and i try to ship something with it. lol
🦜 1