Adding Microtus to your Java project is really simple, you only need to add a few repositories:
Gradle (Groovy) Gradle (Kotlin)
Copy repositories {
mavenCentral()
}
Copy repositories {
mavenCentral()
}
Gradle (Groovy) Gradle (Kotlin) Maven (Parent) Maven
Copy dependencies {
implementation platform( 'net.onelitefeather.microtus:bom:version' )
implementation 'net.onelitefeather.microtus:Microtus' // Main Components
testImplementation 'net.onelitefeather.microtus.testing:testing' // Testing Components
}
Copy dependencies {
implementation ( platform ( "net.onelitefeather.microtus:bom:VERSION" )
implementation ( "net.onelitefeather.microtus:Microtus" ) // Main components
testImplementation ( "net.onelitefeather.microtus.testing:testing" ) // Test components
}
Copy < project ...>
< modelVersion >4.0.0</ modelVersion >
< groupId >your.project</ groupId >
< artifactId >microtus-project</ artifactId >
< version >0.0.1-SNAPSHOT</ version >
< packaging >pom</ packaging >
< name >Microtus </ name >
< parent >
< groupId >net.onelitefeather.microtus</ groupId >
< artifactId >bom</ artifactId >
< version >VERSION</ version >
</ parent >
< dependencies >
<!-- ... -->
< dependency >
< groupId >net.onelitefeather.microtus</ groupId >
< artifactId >Microtus</ artifactId >
</ dependency >
< dependency >
< groupId >net.onelitefeather.microtus.testing</ groupId >
< artifactId >testing</ artifactId >
< scope >test</ scope >
</ dependency >
</ dependencies >
</ project >
Copy < dependencyManagement >
< dependencies >
< dependency >
< groupId >net.onelitefeather.microtus</ groupId >
< artifactId >bom</ artifactId >
< version >VERSION</ version >
< type >pom</ type >
< scope >import</ scope >
</ dependency >
</ dependencies >
</ dependencyManagement >
< dependencies >
<!-- ... -->
< dependency >
< groupId >net.onelitefeather.microtus</ groupId >
< artifactId >Microtus</ artifactId >
</ dependency >
< dependency >
< groupId >net.onelitefeather.microtus.testing</ groupId >
< artifactId >testing</ artifactId >
< scope >test</ scope >
</ dependency >
</ dependencies >