DEV Community

Query Filter
Query Filter

Posted on

docker103

plugins {
    id 'java-library' // Essential for creating a library JAR
}

group = 'com.citi.158825.ETSFb'
version = '1.0-A20'

java {
    // Matches your CPLS target environment (Java 6/8/21)
    toolchain {
        languageVersion = JavaLanguageVersion.of(8) 
    }
}

repositories {
    mavenCentral()
    // If you need to pull existing jars from your Artifactory:
    maven {
        url "https://maven-icg-prod.com/artifactory/libs-release"
    }
}

dependencies {
    // Add any external jars here
    // implementation 'org.apache.commons:commons-lang3:3.12.0'
}

tasks.named('jar') {
    manifest {
        attributes(
            'Implementation-Title': 'ETSF Library',
            'Implementation-Version': archiveVersion,
            'Built-By': System.getProperty('user.name')
        )
    }
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)