A
A
Andrey Andryushchenko2015-05-29 04:53:18
Java
Andrey Andryushchenko, 2015-05-29 04:53:18

How to build your library using gradle?

I am going to write a library in Java using gradle. I need to export it as a jar. And in the future, I may want to upload to the maven repository. It turns out that apply plugin: 'application' is no longer suitable, because I don't need an executable jar file. The question is how to correctly and competently create a library in Java using gradle?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene, 2015-05-29
@zolt85

Here, in my opinion, a Java plugin for the eyes.
apply plugin: 'java'

M
Maxim Moseychuk, 2015-05-29
@fshp

The library is no different from the "executable jar file"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question