Skip to content
Snippets Groups Projects
build.gradle 1.31 KiB
Newer Older
  • Learn to ignore specific revisions
  • apply from: '../build/javaproject.gradle'
    
        api 'apache:commons-io:2.6',
    
                'apache:commons-lang3:3.11',
    
                'apache:commons-text:1.6',
    
                'sis:sis-base:23.06.0',
    
                'rinn:restrictions:1.0.2',
                // Removed libraries from JDK 11 used by many projects
                'javax.activation:activation:1.1.1',
                'javax.annotation:javax.annotation-api:1.3.2',
                'javax.xml.bind:jaxb-api:2.3.1',
                'com.sun.istack:istack-commons-runtime:3.0.5',
                'org.glassfish.jaxb:txw2:2.3.6',
                'org.glassfish.jaxb:jaxb-core:2.3.0.1',
                'org.glassfish.jaxb:jaxb-runtime:2.3.6',
                'org.glassfish.main.javaee-api:javax.jws:3.1.2.2',
    
                'hamcrest:hamcrest-integration:1.3',
                'hamcrest:hamcrest-library:1.3'
    
        // our jmock version uses hamcrest 1.1 but we use 1.3
        api('jmock:jmock:2.5.1') {
            exclude group: 'hamcrest', module: 'hamcrest-core'
    
            exclude group: 'hamcrest', module: 'hamcrest-library'
    
            testImplementation 'fjelmer:classycle:1.4.2',
                    'testng:testng:6.8-CISD'
        }
    }
    
    felmer's avatar
    felmer committed
    
    jar {
    
        duplicatesStrategy 'include'
    
    felmer's avatar
    felmer committed
        from('targets/dist') {
            include 'BUILD*INFO'
    
        from sourceSets.main.output + sourceSets.test.output
    
    felmer's avatar
    felmer committed
    }