Changes
Page history
Added gradle groovy & kotlin repo/dependency
authored
Aug 11, 2023
by
Phillip
Show whitespace changes
Inline
Side-by-side
API.md
View page @
e4998887
...
@@ -5,25 +5,67 @@ JavaDocs for MythicMobs API can be found here:
...
@@ -5,25 +5,67 @@ JavaDocs for MythicMobs API can be found here:
1.
<https://www.mythicmobs.net/javadocs/>
1.
<https://www.mythicmobs.net/javadocs/>
Maven
-------------------------
-----
## Repositories
### Repository
### Maven
```
markup
<repository>
<repository>
<id>nexus</id>
<id>nexus</id>
<name>Lumine Releases</name>
<name>Lumine Releases</name>
<url>https://mvn.lumine.io/repository/maven-public/</url>
<url>https://mvn.lumine.io/repository/maven-public/</url>
</repository>
</repository>
```
### Gradle (Groovy)
```
groovy
repositories
{
// ...
mavenCentral
()
maven
{
url
'https://mvn.lumine.io/repository/maven-public/'
}
}
```
### Gradle (Kotlin)
```
groovy
repositories
{
// ...
mavenCentral
()
maven
(
url
=
"https://mvn.lumine.io/repository/maven-public/"
)
}
```
##
#
Dependenc
y
## Dependenc
ies
#### Release Version is 5.3.5
#### Dev Builds Version is 5.4.0-SNAPSHOT
### Maven
```
xml
<dependency>
<dependency>
<groupId>
io.lumine
</groupId>
<groupId>
io.lumine
</groupId>
<artifactId>
Mythic-Dist
</artifactId>
<artifactId>
Mythic-Dist
</artifactId>
<version>5.
2.1
</version>
<version>
5.
3.5
</version>
<scope>
provided
</scope>
<scope>
provided
</scope>
</dependency>
</dependency>
```
### Gradle (Groovy)
```
groovy
dependencies
{
//...
compileOnly
'io.lumine:Mythic-Dist:5.3.5'
}
```
### Gradle (Kotlin)
```
groovy
dependencies
{
// ...
compileOnly
(
"io.lumine:Mythic-Dist:5.3.5"
)
}
```
--------------------------
Examples
Examples
--------
--------
...
...
...
...