Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (32 sloc) 1.32 KB

Frequently asked questions

See also the entire documentation index

How do I get started?

Check out following documents:

How do I prevent publication of specific submodule?

By default Shipkit plugins such as "org.shipkit.java" publish all submodules (jars) of the project. Using Gradle vocabulary: all archives produced by all subprojects in your build are published. Say that one of your subprojects is a "test" or "sample" project that you don't want to publish. To prevent publication, disable bintrayUpload task:

//build.gradle of a subproject that you don't want to publish
apply plugin: 'java'
...
bintrayUpload.enabled = false

How to build my library against different JDK versions?

Sometimes projects are build against different Java versions, but you can't release the same artifact version twice. To avoid failed builds on Travis, you can configure it like that:

matrix:
  include:
  - jdk: oraclejdk8
  - jdk: oraclejdk9
    env: SKIP_RELEASE=true
  - jdk: openjdk10
    env: SKIP_RELEASE=true
  - jdk: openjdk11
    env: SKIP_RELEASE=true

Now only artifacts produced by JDK8 build will be published.

You can’t perform that action at this time.