The process that android studio seemingly goes through isġ- compile sources which runs this gradle tasks: :lib-themesources:generateDebugSources :lib-themesources:generateDebugAndroidTestSources :lib-themesources:createMockableJar :lib-themesources:compileDebugAndroidTestSources :lib-themesources:compileDebugUnitTestSources :lib-themesources:compileDebugSourcesĢ- somehow It knows which jar files it should include into java classpath and it runs the main function like this: How can I write a gradle task(or anything) that prints out which local jar files I need to add to jre classpath?Īnd the said main class that android studio can run is: “lib/themesources/src/main/java/eu/kanade/tachiyomi/lib/themesources/GeneratorMain.kt” I have written a console application that generates some gradle modules, and as I said I can run said main functions using android studio and now I need to write some kind of bash script to be able to automate this generation process. Inside of a android library you can define a main method and android studio prompts you to run it as a console application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |