/
linux-boss
/
FunnyRun
Обзор
Документация
Войти
/
linux-boss
/
FunnyRun
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
pom.xml
101 строка
4 KB
Vladimir Sinotov
Initial commit
08 авг 2026, 15:58
08 авг 2026, 15:58
8afb8a1
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>ru.sinotovv.game</groupId> <artifactId>FunnyRun</artifactId> <version>1.0</version> <properties> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <gdx.version>1.13.1</gdx.version> </properties> <dependencies> <!-- Ядро LibGDX --> <dependency> <groupId>com.badlogicgames.gdx</groupId> <artifactId>gdx</artifactId> <version>${gdx.version}</version> </dependency> <!-- Бэкенд для запуска на ПК (Desktop LWJGL3) --> <dependency> <groupId>com.badlogicgames.gdx</groupId> <artifactId>gdx-backend-lwjgl3</artifactId> <version>${gdx.version}</version> </dependency> <!-- Нативные библиотеки для вашей ОС (Windows, macOS, Linux) --> <dependency> <groupId>com.badlogicgames.gdx</groupId> <artifactId>gdx-platform</artifactId> <version>${gdx.version}</version> <classifier>natives-desktop</classifier> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.*</include> </includes> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.11.0</version> <configuration> <source>17</source> <target>17</target> </configuration> </plugin> <!-- ШЕЙД-ПЛАГИН С ЖЕСТКИМИ НАСТРОЙКАМИ ИМЕНИ И МАНИФЕСТА --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.5.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <finalName>gamerunner</finalName> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <!-- Указываем точный пакет лаунчера --> <mainClass>ru.sinotovv.funnyrun.GameLauncher</mainClass> </transformer> <!-- Трансформер для склеивания META-INF/services менеджера тем --> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> </transformers> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>