Skip to content

Commit 5b44256

Browse files
authored
Merge branch 'development' into renovate/org.json-json-20250517.x
2 parents 8987d92 + a864642 commit 5b44256

File tree

2 files changed

+38
-25
lines changed

2 files changed

+38
-25
lines changed

build.gradle

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ asciidoctor {
158158

159159
bootJar {
160160
dependsOn asciidoctor
161-
dependsOn 'buildPluginJar'
161+
//dependsOn 'buildPluginJar'
162162

163163
from ("${asciidoctor.outputDir}/html5") {
164164
into 'static/docs'
@@ -195,23 +195,23 @@ release {
195195
}
196196

197197
tasks.named("jar") {
198-
enabled = false
199-
}
200-
201-
task buildPluginJar(type: Jar) {
202-
description = 'Bundeling plugin core classes'
203-
archiveFileName.set("plugin-core-${version}.jar")
204-
from sourceSets.main.output
205-
include '**/configuration/ApplicationProperties.class',
206-
'**/exception.BadExitCodeException.class',
207-
'**/plugins/AbstractPythonMappingPlugin.class',
208-
'**/plugins/IMappingPlugin.class',
209-
'**/plugins/MappingPluginException.class',
210-
'**/plugins/MappingPluginState.class',
211-
'**/util/PythonRunnerUtil.class',
212-
'**/util/ShellRunnerUtil.class'
213-
includeEmptyDirs false
214-
}
198+
enabled = false
199+
}
200+
201+
//task buildPluginJar(type: Jar) {
202+
// description = 'Bundeling plugin core classes'
203+
// archiveFileName.set("plugin-core-${version}.jar")
204+
// from sourceSets.main.output
205+
// include '**/configuration/ApplicationProperties.class',
206+
// '**/exception.BadExitCodeException.class',
207+
// '**/plugins/AbstractPythonMappingPlugin.class',
208+
// '**/plugins/IMappingPlugin.class',
209+
// '**/plugins/MappingPluginException.class',
210+
// '**/plugins/MappingPluginState.class',
211+
// '**/util/PythonRunnerUtil.class',
212+
// '**/util/ShellRunnerUtil.class'
213+
// includeEmptyDirs false
214+
//}
215215

216216
// task for printing project name.
217217
// should be the last task inside file

gradle/profile-deploy.gradle

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
// Main jar with only selected classes
1919
task selectedClassesJar(type: Jar) {
20+
archiveBaseName = 'mapping-plugin-core'
2021
archiveClassifier = ''
2122
from sourceSets.main.output
2223
include '**/configuration/ApplicationProperties.class',
@@ -27,16 +28,28 @@ task selectedClassesJar(type: Jar) {
2728
'**/plugins/MappingPluginState.class',
2829
'**/util/PythonRunnerUtil.class',
2930
'**/util/ShellRunnerUtil.class'
31+
includeEmptyDirs false
3032
}
3133

32-
// Sources jar
33-
task sourcesJar(type: Jar) {
34+
// Sources jar with only selected classes
35+
task selectedSourcesJar(type: Jar) {
36+
archiveBaseName = 'mapping-plugin-core'
3437
archiveClassifier = 'sources'
3538
from sourceSets.main.allSource
39+
include '**/configuration/ApplicationProperties.java',
40+
'**/exception.BadExitCodeException.java',
41+
'**/plugins/AbstractPythonMappingPlugin.java',
42+
'**/plugins/IMappingPlugin.java',
43+
'**/plugins/MappingPluginException.java',
44+
'**/plugins/MappingPluginState.java',
45+
'**/util/PythonRunnerUtil.java',
46+
'**/util/ShellRunnerUtil.java'
47+
includeEmptyDirs false
3648
}
3749

3850
// Javadoc jar
3951
task javadocJar(type: Jar) {
52+
archiveBaseName = 'mapping-plugin-core'
4053
archiveClassifier = 'javadoc'
4154
from javadoc
4255
}
@@ -45,12 +58,12 @@ task javadocJar(type: Jar) {
4558
//for java plugin
4659
//see https://docs.gradle.org/current/userguide/java_plugin.html
4760
////////////////////////////////////////////////////////////////////////////////
48-
java {
61+
//java {
4962
//package JavaDoc as part of publication
50-
withJavadocJar()
63+
// withJavadocJar()
5164
//package Sources as part of publication
52-
withSourcesJar()
53-
}
65+
// withSourcesJar()
66+
//}
5467

5568
////////////////////////////////////////////////////////////////////////////////
5669
//for plugin net.researchgate.release
@@ -98,7 +111,7 @@ publishing {
98111
//by the signing plugin, e.g. sign publishing.publications.maven
99112
mavenJava(MavenPublication) {
100113
artifact selectedClassesJar
101-
artifact sourcesJar
114+
artifact selectedSourcesJar
102115
artifact javadocJar
103116

104117
groupId = "edu.kit.datamanager"

0 commit comments

Comments
 (0)