From 2b042588b5c34e8af3fbd9a97a42033127b6cf93 Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Mon, 4 Nov 2019 19:02:54 +0100 Subject: [PATCH] Add more artifacts --- build.gradle | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/build.gradle b/build.gradle index 1b2c62be8..98a6b24aa 100755 --- a/build.gradle +++ b/build.gradle @@ -108,3 +108,26 @@ jar { ]) } } + +task apiJar(type: Jar, dependsOn: 'classes') { + classifier = 'api' + from(sourceSets.main.output) { + include 'com/raoulvdberge/refinedstorage/api/**' + } +} + +task sourcesJar(type: Jar, dependsOn: classes) { + classifier = 'sources' + from sourceSets.main.allSource +} + +task deobfJar(type:Jar) { + from sourceSets.main.output + classifier 'deobf' +} + +artifacts { + archives sourcesJar + archives deobfJar + archives apiJar +}