Installation - hyndor/SightMenu GitHub Wiki

Plain java projects

  • Head over to the releases section
  • Click 'Source code (zip)' under 'Assets'
  • Extract the downloaded zip.
  • Copy /src/main/java/com into your project's src folder.
  • Profit!

Maven projects

  • Check readme and install menu-api in your local repository
  • Add the following dependency in your pom.xml
<dependencies>
        ...
        <!-- Sight Menu Api -->
        <dependency>
            <groupId>ru.hyndo.menu</groupId>
            <artifactId>menu-api</artifactId>
            <version>1.2-SNAPSHOT</version>
        </dependency>
    </dependencies>
  • Add maven-shade-plugin
        <build
          ...
          <plugins>
            ...
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>3.1.0</version>
                <configuration>
                    <artifactSet>
                        <includes>
                            <include>ru.hyndo.menu:menu-api:*</include>
                        </includes>
                    </artifactSet>
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
          </plugins>
        </build>
  • Profit
⚠️ **GitHub.com Fallback** ⚠️