Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Proposal for getting module support #124

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions java-wrapper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>com.codedisaster.steamworks</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
Expand Down
5 changes: 0 additions & 5 deletions jnigen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
<artifactId>steamworks4j</artifactId>
<version>1.10.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.code-disaster.steamworks4j</groupId>
<artifactId>steamworks4j-server</artifactId>
<version>1.10.0-SNAPSHOT</version>
</dependency>
</dependencies>

<build>
Expand Down
7 changes: 7 additions & 0 deletions loader/gdx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>com.codedisaster.steamworks.gdx</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.codedisaster.steamworks;
package com.codedisaster.steamworks.gdx;

import com.badlogic.gdx.utils.SharedLibraryLoader;
import com.codedisaster.steamworks.SteamLibraryLoader;

import java.nio.file.Path;
import java.nio.file.Paths;
Expand Down
7 changes: 7 additions & 0 deletions loader/lwjgl3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>com.codedisaster.steamworks.lwjgl3</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.codedisaster.steamworks;
package com.codedisaster.steamworks.lwjgl3;

import com.codedisaster.steamworks.SteamLibraryLoader;
import org.lwjgl.system.Library;
import org.lwjgl.system.Platform;

Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<module>jnigen</module>
<module>loader/gdx</module>
<module>loader/lwjgl3</module>
<module>server</module>
<module>tests</module>
</modules>

Expand Down
188 changes: 0 additions & 188 deletions server/pom.xml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed server/src/main/resources/libsteamworks4j-server.so
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed server/src/main/resources/steamworks4j-server.dll
Binary file not shown.
Binary file removed server/src/main/resources/steamworks4j-server64.dll
Binary file not shown.
5 changes: 0 additions & 5 deletions tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
<artifactId>steamworks4j-lwjgl3</artifactId>
<version>1.10.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.code-disaster.steamworks4j</groupId>
<artifactId>steamworks4j-server</artifactId>
<version>1.10.0-SNAPSHOT</version>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.codedisaster.steamworks.test;

import com.codedisaster.steamworks.*;
import com.codedisaster.steamworks.gdx.SteamLibraryLoaderGdx;
import com.codedisaster.steamworks.lwjgl3.SteamLibraryLoaderLwjgl3;

import java.util.Scanner;

Expand Down