Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Actions CI and upgrade Gradle #80

Merged
merged 21 commits into from
Mar 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update toolng
xSAVIKx committed Mar 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 365a030c0ca0ebc07191afa5be659e11bc111b10
10 changes: 8 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ javadoc {
}

checkstyle {
toolVersion = "8.1"
toolVersion = "8.24"
showViolations = false
sourceSets = [project.sourceSets.main]
// maxWarnings = 0
@@ -44,7 +44,7 @@ tasks.withType(Checkstyle).configureEach {
}

jacoco {
toolVersion = "0.8.5"
toolVersion = "0.8.11"
getReportsDirectory().set(file("${buildDir}/jacocoHtml"))
}

@@ -107,6 +107,12 @@ sourceSets {
configurations {
integrationTestImplementation.extendsFrom testImplementation
integrationTestRuntimeOnly.extendsFrom testRuntimeOnly
checkstyle {
// See https://github.com/gradle/gradle/issues/27035
resolutionStrategy.capabilitiesResolution.withCapability("com.google.collections:google-collections") {
select("com.google.guava:guava:0")
}
}
}

tasks.register('integrationTest', Test) {
8 changes: 4 additions & 4 deletions config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
@@ -27,6 +27,10 @@
<property name="eachLine" value="true"/>
</module>

<module name="LineLength">
<property name="max" value="100"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
</module>
<module name="TreeWalker">
<module name="OuterTypeFilename"/>
<module name="IllegalTokenText">
@@ -39,10 +43,6 @@
<property name="allowByTailComment" value="true"/>
<property name="allowNonPrintableEscapes" value="true"/>
</module>
<module name="LineLength">
<property name="max" value="100"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
</module>
<module name="AvoidStarImport"/>
<module name="OneTopLevelClass"/>
<module name="NoLineWrap"/>