Commit dfa7fb2e authored by Koehorst, Jasper's avatar Koehorst, Jasper
Browse files

change build attirbute jar

parent 58dffd14
Pipeline #15154 passed with stage
in 1 minute and 20 seconds
......@@ -35,9 +35,11 @@ shadowJar {
classifier = null
version = null
configurations = [project.configurations.runtimeClasspath]
}
// Define the main class for the application
mainClassName = 'nl.munlock.App'
jar {
manifest {
attributes 'Main-Class': 'nl.munlock.App'
......@@ -85,7 +87,7 @@ dependencies {
compile 'io.kubernetes:client-java:5.0.0'
// Logger
compile group: 'log4j', name: 'log4j', version:'1.2.17'
compile group: 'log4j', name: 'log4j', version: '1.2.17'
// https://mvnrepository.com/artifact/com.esotericsoftware.yamlbeans/yamlbeans
compile group: 'com.esotericsoftware.yamlbeans', name: 'yamlbeans', version: '1.14'
......@@ -93,7 +95,4 @@ dependencies {
// locally installed jargon and unlock api
compile group: 'jargon', name: 'core', version: '4.3.0.2'
compile group: 'nl.munlock', name: 'unlockapi', version: '1.0.1'
}
// Define the main class for the application
mainClassName = 'nl.wur.ssb.App'
\ No newline at end of file
}
\ No newline at end of file
......@@ -34,7 +34,7 @@ public class Kubernetes {
private static final Logger log = Generic.getLogger(Kubernetes.class, false);
public static HashSet<String> yamls = new HashSet<>();
public static void main(CommandOptionsKubernetes commandOptionsKubernetes, Connection connection) throws Exception {
public static void main(CommandOptionsKubernetes commandOptionsKubernetes, Connection connection) throws JargonException, JargonQueryException, IOException, ApiException, GenQueryBuilderException, InterruptedException {
getYamls(commandOptionsKubernetes, connection);
createJobs(commandOptionsKubernetes, connection);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment