groovy - Where is mavenJava in the gradle docs -


i try start beginning. want add build step existing gradle script. in particular, either right before or maybe right after uploading bunch of jars, want add tag version control. seems sort of publishing task, thought i'd use publications{} method of publishing{} block.

is bad idea? there better one? i'm new both gradle , groovy , amount of action @ distance making hard find way.

even assuming idea sound, have no clue how it. far can make out, publications{} takes instance of action , executes current list of publications argument. (incidentally, shouldn't called "publication" rather "publications", since takes 1 action, opposed many?)

this doesn't tell me how write own, looked @ existing example know of, in docs @ https://docs.gradle.org/4.0.2/userguide/publishing_maven.html:

publishing {     publications {         mavenjava(mavenpublication) {             components.java         }     } } 

fine, far good, mavejava defined? ide won't tell me, , docs won't tell me, , getting confused.


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -