Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
C4tWithShell committed Feb 8, 2024
1 parent b134ef4 commit d07b087
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2023 Michael Clarke
* Copyright (C) 2020-2024 Michael Clarke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand All @@ -19,10 +19,10 @@
plugins {
id('java')
id('jacoco')
id('org.sonarqube') version('2.8')
id('info.solidsoft.pitest') version('1.4.0')
id('com.github.johnrengelman.shadow') version('5.1.0')
id('net.researchgate.release') version('2.6.0')
id('org.sonarqube') version('4.4.1.3373')
id('info.solidsoft.pitest') version('1.15.0')
id('com.github.johnrengelman.shadow') version('8.1.1')
id('net.researchgate.release') version('3.0.2')
}

group 'com.github.mc1arke.sonarqube.plugin'
Expand All @@ -40,7 +40,7 @@ repositories {
}
}

def sonarqubeVersion = '10.2.1.78527'
def sonarqubeVersion = '10.3.0.82913'
def sonarqubeLibDir = "${projectDir}/sonarqube-lib"
def sonarLibraries = "${sonarqubeLibDir}/sonarqube-${sonarqubeVersion}/lib"

Expand All @@ -62,17 +62,17 @@ tasks.withType(JavaCompile) {
dependencies {
compileOnly(fileTree(dir: sonarLibraries, include: '**/*.jar', exclude: 'extensions/*.jar'))
testImplementation(fileTree(dir: sonarLibraries, include: '**/*.jar', exclude: 'extensions/*.jar'))
testImplementation('org.mockito:mockito-core:5.4.0')
testImplementation('org.assertj:assertj-core:3.24.2')
testImplementation('com.github.tomakehurst:wiremock:2.27.2')
testImplementation('org.mockito:mockito-core:5.8.0')
testImplementation('org.assertj:assertj-core:3.25.1')
testImplementation('org.wiremock:wiremock:3.3.1')
zip("sonarqube:sonarqube:${sonarqubeVersion}@zip")
implementation('org.bouncycastle:bcpkix-jdk15on:1.70')
implementation(files('lib/nodes-0.5.0.jar'))
runtimeOnly('com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.2')
runtimeOnly('com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.16.1')
compileOnly('com.google.code.findbugs:jsr305:3.0.2')
implementation('org.javassist:javassist:3.29.2-GA')
implementation('com.squareup.okhttp3:logging-interceptor:4.11.0')
testImplementation(platform('org.junit:junit-bom:5.10.0'))
implementation('org.javassist:javassist:3.30.2-GA')
implementation('com.squareup.okhttp3:logging-interceptor:4.12.0')
testImplementation(platform('org.junit:junit-bom:5.10.1'))
testImplementation('org.junit.jupiter:junit-jupiter')
testImplementation('junit:junit:4.13.2')
testRuntimeOnly('org.junit.vintage:junit-vintage-engine')
Expand Down Expand Up @@ -112,18 +112,19 @@ jar {

release {
git {
requireBranch = ''
commitVersionFileOnly = true
requireBranch.set('')
commitVersionFileOnly.set(true)
}
buildTasks.set(["assemble"])
}

tasks.jar.configure {
classifier = 'nodeps'
archiveClassifier = 'nodeps'
enabled = false
}

tasks.shadowJar.configure {
classifier = null
archiveClassifier = null
}

tasks.withType(JavaCompile) {
Expand All @@ -134,8 +135,9 @@ tasks.withType(JavaCompile) {
assemble.dependsOn('shadowJar')

pitest {
junit5PluginVersion = '1.2.1'
timestampedReports = false
avoidCallsTo = ['org.sonar.api.utils.log.Logger']
avoidCallsTo = ['org.slf4j.Logger']
}

jacocoTestReport {
Expand Down

0 comments on commit d07b087

Please sign in to comment.