Skip to content

Commit

Permalink
build: do not include plugin in java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackfaded committed Jul 23, 2024
1 parent c1fbe36 commit 97d3580
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ plugins {
id 'java-library'
id 'jacoco'
id 'checkstyle'
id "com.vanniktech.maven.publish" version "0.29.0" apply false
id "io.github.kmbisset89.changelog.plugin" version "1.0.4"
}


if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
apply plugin: 'com.vanniktech.maven.publish'
}

version = '0.0.1'

Expand All @@ -19,17 +22,11 @@ dependencies {
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: '2.17.2'
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.12.0'

classpath 'com.vanniktech.maven.publish:0.29.0'

testImplementation group: 'org.mockito', name: 'mockito-core', version: '3.12.4'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.3'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.3'
}

if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
apply plugin: 'com.vanniktech.maven.publish'
}

jacoco {
toolVersion = "0.8.8" // Specify the version of JaCoCo you want to use
}
Expand Down

0 comments on commit 97d3580

Please sign in to comment.