File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -141,22 +141,33 @@ signing {
141
141
sign publishing. publications. mavenJava
142
142
}
143
143
144
- mainClassName = ' marquez.MarquezApp'
144
+ application {
145
+ mainClass = ' marquez.MarquezApp'
146
+ }
145
147
146
148
shadowJar {
147
149
classifier = ' '
148
150
transform(ServiceFileTransformer )
151
+ // Add LICENSE to Jar
152
+ from(projectDir) {
153
+ include ' LICENSE'
154
+ }
149
155
manifest {
150
156
attributes(
151
157
' Created-By' : " Gradle ${ gradle.gradleVersion} " ,
152
158
' Built-By' : System . getProperty(' user.name' ),
153
159
' Build-Jdk' : System . getProperty(' java.version' ),
154
160
' Implementation-Title' : project. name,
155
161
' Implementation-Version' : project. version,
156
- ' Main-Class' : mainClassName )
162
+ ' Main-Class' : application . mainClass )
157
163
}
158
164
}
159
165
160
166
runShadow {
161
167
args = [' server' , ' ../marquez.yml' ]
162
168
}
169
+
170
+ tasks. distZip. dependsOn tasks. shadowJar
171
+ tasks. distTar. dependsOn tasks. shadowJar
172
+ tasks. startScripts. dependsOn tasks. shadowJar
173
+ tasks. shadowJar. dependsOn tasks. jar
Original file line number Diff line number Diff line change @@ -16,4 +16,3 @@ rootProject.name = 'marquez'
16
16
17
17
include ' api'
18
18
include ' clients:java'
19
- include ' integrations:spark'
You can’t perform that action at this time.
0 commit comments