Skip to content

Commit

Permalink
feat: add placeholder main class as starting point
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed Jun 7, 2023
1 parent 733ab4b commit 5904f33
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
</ciManagement>

<properties>
<main-class>org.itk.wasm.Main</main-class>

<license.licenseName>apache_v2</license.licenseName>
<license.copyrightOwners>ITK developers.</license.copyrightOwners>
<license.projectName>Java bindings for itk-wasm.</license.projectName>
Expand Down
26 changes: 26 additions & 0 deletions packages/core/java/src/main/java/org/itk/wasm/Main.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*-
* #%L
* Java bindings for itk-wasm.
* %%
* Copyright (C) 2023 ITK developers.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
package org.itk.wasm;

public class Main {
public static void main(String... args) {
System.out.println("Hello world");
}
}

0 comments on commit 5904f33

Please sign in to comment.