@@ -47,58 +47,6 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
4747 from javadoc. destinationDir
4848}
4949
50- task shadowJarWithoutExternalDependencies (type : com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar ) {
51- archiveClassifier. set(' without-external-dependencies' )
52- configurations = [project. configurations. runtimeClasspath]
53- minimize() {
54- exclude(project(path : " :app" ))
55- exclude(project(path : " :shared" , configuration : activeRuntimeElementsConfiguration))
56- exclude(project(path : " :spark2" ))
57- exclude(project(path : " :spark3" , configuration : activeRuntimeElementsConfiguration))
58- exclude(project(path : " :spark31" ))
59- exclude(project(path : " :spark32" , configuration : activeRuntimeElementsConfiguration))
60- exclude(project(path : " :spark33" , configuration : activeRuntimeElementsConfiguration))
61- exclude(project(path : " :spark34" , configuration : activeRuntimeElementsConfiguration))
62- exclude(project(path : " :spark35" , configuration : activeRuntimeElementsConfiguration))
63- exclude(project(path : " :snowflake" ))
64- }
65-
66- dependencies {
67- exclude(dependency(" org.slf4j::" ))
68- exclude(" org/apache/commons/logging/**" )
69- exclude(" io/openlineage/server/**" )
70- exclude(" io/openlineage/sql/libopenlineage_sql_java_x86_64.so" )
71- exclude(" io/openlineage/sql/libopenlineage_sql_java_aarch64.so" )
72- exclude(" io/openlineage/sql/libopenlineage_sql_java_arm64.dylib" )
73- exclude(" com/fasterxml/jackson/**" )
74- exclude(" org/apache/http/**" )
75- exclude(" org/apache/httpcomponents/client5/**" )
76- exclude(" com/github/ok2c/hc5/**" )
77- exclude(" org/apache/hc/**" )
78- exclude(" org/HdrHistogram/**" )
79- exclude(" org/LatencyUtils/**" )
80- exclude(" org/apache/commons/codec/**" )
81- exclude(" org/apache/commons/lang3/**" )
82- exclude(" org/apache/commons/beanutils/**" )
83- exclude(" org/yaml/snakeyaml/**" )
84- exclude(" javassist/**" )
85- exclude(" io/micrometer/**" )
86- exclude(" mozilla/**" )
87- exclude(" org/publicsuffix/**" )
88- }
89-
90- manifest {
91- attributes(
92- " Created-By" : " Gradle ${ gradle.gradleVersion} " ,
93- " Built-By" : System . getProperty(" user.name" ),
94- " Build-Jdk" : System . getProperty(" java.version" ),
95- " Implementation-Title" : project. name,
96- " Implementation-Version" : project. version
97- )
98- }
99- zip64 true
100- }
101-
10250javadoc {
10351 options. tags = [" apiNote" ]
10452}
@@ -141,7 +89,6 @@ publishing {
14189
14290 artifact sourceJar
14391 artifact javadocJar
144- artifact shadowJarWithoutExternalDependencies
14592
14693 pom {
14794 name = " openlineage-spark_${ scala} "
0 commit comments