Skip to content

info.xiaomo.g-engine 3.2.2

Install 1/2: Add this to pom.xml:
Learn more about Maven or Gradle
<dependency>
  <groupId>info.xiaomo</groupId>
  <artifactId>g-engine</artifactId>
  <version>3.2.2</version>
</dependency>
Install 2/2: Run via command line
$ mvn install

About this package

注意事项

请一定要先安装lombok插件,少写很多getter/setter。不装插件会找不到getter/setter方法

添加仓库源

添加以下仓库到你的pom.xml文件中

    <repositories>
        <repository>
            <id>github</id>
            <url>https://maven.pkg.github.com/GEngine-JP/GEngine</url>
        </repository>
    </repositories>

如果项目的pom.xml文件不加这段内容会找不到对应的jar包

添加授权信息

windows默认放在C:/Users/用户名/.m2/settings.xml
mac os默认放在在 ~/.m2/settings.xml,下

settings.xml

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<activeProfiles>
    <activeProfile>github</activeProfile>
  </activeProfiles>
  <profiles>
    <profile>
      <id>github</id>
      <repositories>
        <repository>
          <id>github</id>
          <name>GitHub OWNER Apache Maven Packages</name>
          <url>https://maven.pkg.github.com/GEngine-JP/GEngin</url>
        </repository>
      </repositories>
    </profile>
  </profiles>
  <servers>
    <server>
      <id>github</id>
      <username>houko</username>
      <password>0586b09e7a7eb523c301de480f2cfff4eda67d02</password>
    </server>
  </servers>
</settings>

添加引用

在你的pom文件中dependencies添加以下引用

    <dependency>
      <groupId>info.xiaomo</groupId>
      <artifactId>g-engine</artifactId>
      <version>3.2.2</version>
    </dependency>

更新日志

release

协议声明

LICENSE

Details

  • @JGameEngine JGameEngine
  • February 19, 2021
  • 25 dependencies
  • Apache License 2.0

Download activity

  • Total downloads 2
  • Last 30 days 0
  • Last week 0
  • Today 0


Recent versions

View all