Skip to content

Commit

Permalink
Tweak build for jitpack.io (version is passed during publish)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcdv committed Feb 18, 2021
1 parent 9828210 commit 5f6d64e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ allprojects {
sourceCompatibility = 1.8
targetCompatibility = 1.8

version = "${version_flak}" // see gradle.properties

repositories {
mavenCentral()
}
Expand Down Expand Up @@ -44,7 +42,7 @@ allprojects {
from components.java
}

// publishToMavenLocal (or jitpack.io)
// publishToMavenLocal (or jitpack.io) using -Pversion=x.y.z
maven(MavenPublication) {
groupId = 'com.github.pcdv.flak'
from components.java
Expand Down
2 changes: 0 additions & 2 deletions flak-tests/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version version_flak

dependencies {
implementation project(":flak-api")
implementation project(":flak-spi")
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
org.gradle.daemon=true

version_flak=1.3.0
version_jackson=2.8.1

0 comments on commit 5f6d64e

Please sign in to comment.