JAR spoon for local testing

I’m trying to check the changes to the Spoon source (trying to find out how it all works), but I can’t understand how to build the final jar (with dependencies similar to those available from the site ), which we can then use for independent work.

I tried to run ./gradlew buildand ./gradlew installwith some minor code changes, and everything is working well, but I can not find the JAR, which works correctly .: (

Any help / documentation related to the build / release process would be greatly appreciated.

+4
source share
1 answer
  • Intellij Idea ( Android-)
    • Gradle
    • Next -> Finish

: SDK . sdk.dir local.properties ANDROID_HOME.

local.properties :

sdk.dir=/Users/yourusername/Library/Android/sdk

gradle, gradle ( ) /.

  1. Project Structure -> Modules. +Import modulespoon-clientImport module from external model GradleNextNext. spoon-runner Apply.

  2. Project Structure -> Artifacts. +JARFrom modules with dependencies... spoon-client, Main class , OK. spoon-runner. ApplyOK.

  3. BuildBuild Artifacts...All artifacts.

JAR , Artifacts.

enter image description here

enter image description here

+1

Source: https://habr.com/ru/post/1673190/


All Articles