Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.LSTS:neptus:tag/20170721-rep17-arpao'
}
dependencies {
implementation("com.github.LSTS:neptus:tag/20170721-rep17-arpao")
}
<dependency>
<groupId>com.github.LSTS</groupId>
<artifactId>neptus</artifactId>
<version>tag/20170721-rep17-arpao</version>
</dependency>
libraryDependencies += "com.github.LSTS" % "neptus" % "tag/20170721-rep17-arpao"
:dependencies [[com.github.LSTS/neptus "tag/20170721-rep17-arpao"]]
Copyright © 2004-2025 Universidade do Porto - Faculdade de Engenharia Laboratório de Sistemas e Tecnologia Subaquática (LSTS) All rights reserved. Rua Dr. Roberto Frias s/n, sala I203, 4200-465 Porto, Portugal
This software is provided using a dual license. One commercial and for that contact licensing@lsts.pt or lsts@fe.up.pt, and another using a modified "European Union Public Licence - EUPL v.1.1 Usage" (check the included LICENSE.md file).
For developers: please read javadoc/overview-and-developers-guide.html.
For more information check Neptus web site (http://www.lsts.pt/toolchain/neptus/).
You can tweak the launching of the application by creating a file named "neptus.vmoptions" next to the launcher at the root directory. In it you can set scaling for hi dpi monitors (only needed on Linux), or expand the maximum memory to use by the application. Example bellow, (one argument per line, and '#' means comment out):
# For 4GB of max memory
-Xmx4g
# For a 200% scaling
-Dsun.java2d.uiScale=2.0