Skip to content
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
Tweak
  • Loading branch information
may
may committed May 13, 2025
commit 965795225ae3aafc0f9f2b69e841ef6db4b69335
12 changes: 10 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ group = 'com.imsweb'
version = '5.8-SNAPSHOT'
description = 'Java client library for SEER*API'

tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
options.compilerArgs << "-Werror" << "-Xlint:-options"
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
Expand All @@ -32,6 +37,8 @@ dependencies {

api 'com.squareup.retrofit2:retrofit:2.11.0'
api 'com.squareup.retrofit2:converter-jackson:2.11.0'

// retrofit will not update these dependencies to fix vulnerabilities
api 'com.squareup.okhttp3:okhttp:4.12.0'
api 'com.squareup.okio:okio:3.11.0'

Expand All @@ -46,10 +53,11 @@ dependencies {
}

jar {
// specify the archive name; otherwise the version is appended to the war file
archiveFileName = 'seerapi-java.jar'

manifest {
attributes(
'Implementation-Title': 'SEER*API Java Client',
attributes('Implementation-Title': 'SEER*API Java Client',
'Implementation-Version': archiveVersion,
'Implementation-Vendor': group,
'Created-By': System.properties['java.vm.version'] + " (" + System.properties['java.vm.vendor'] + ")",
Expand Down