Skip to content

Commit

Permalink
Get rid of other Gradle deprecations in build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
kuniss committed Oct 14, 2023
1 parent e5bce63 commit 2db3ade
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Expand Up @@ -38,7 +38,7 @@ eclipse.jdt.file.withProperties { properties ->
properties['org.eclipse.jdt.core.compiler.codegen.methodParameters'] = 'generate'
}

def javaposManifest = manifest {
def javaposManifest = java.manifest {
attributes('Specification-Title': 'UnifiedPOS Standard',
'Specification-Vendor': 'UnifiedPOS Committee',
'Specification-Version': uposVersion,
Expand All @@ -47,15 +47,14 @@ def javaposManifest = manifest {
'Implementation-Version': version)
}

sourceCompatibility = 8

///////////////////////////////////////////////////////////////////////////////
// Build Tasks
///////////////////////////////////////////////////////////////////////////////

java {
withSourcesJar()
withJavadocJar()
sourceCompatibility = JavaVersion.VERSION_1_8
}

jar {
Expand Down

0 comments on commit 2db3ade

Please sign in to comment.