plugins { id 'java-library' } dependencies { implementation files('../libs/iaik_jce_full_signed-6.1_moa.jar') api 'org.slf4j:slf4j-api:2.0.17' api(group: 'xerces', name: 'xercesImpl', version: '2.12.2') { exclude group: 'xml-apis', module: 'xml-apis' } api(group: 'xalan', name: 'xalan', version: '2.7.1') { exclude group: 'xml-apis', module: 'xml-apis' } api(group: 'xalan', name: 'serializer', version: '2.7.1') { exclude group: 'xml-apis', module: 'xml-apis' } api 'joda-time:joda-time:2.14.1' api 'jaxen:jaxen:2.0.0' } java { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 withJavadocJar() withSourcesJar() } tasks.register('testJar', Jar) { archiveClassifier.set('tests') from sourceSets.test.output } configurations { testArtifacts } artifacts { testArtifacts(tasks.named('testJar')) }