mirror of
https://github.com/plexusorg/toml4j.git
synced 2024-12-28 03:04:14 +00:00
Fix compilation errors
This commit is contained in:
parent
48df906a43
commit
928a60487a
2 changed files with 25 additions and 4 deletions
|
@ -18,15 +18,18 @@ Add the following dependency to your POM (or equivalent for other dependency man
|
|||
</dependency>
|
||||
```
|
||||
|
||||
If you use gradle, you can use the following code :
|
||||
If you use Gradle, you can use the following code:
|
||||
```gradle
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
url = uri("https://nexus.telesphoreo.me/repository/totalfreedom/")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
...
|
||||
implementation 'dev.plex:toml4j:0.7.3'
|
||||
implementation("dev.plex:toml4j:0.7.3")
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
java
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
group = "dev.plex"
|
||||
|
@ -11,6 +12,23 @@ repositories {
|
|||
|
||||
dependencies {
|
||||
implementation("com.google.code.gson:gson:2.9.0")
|
||||
implementation("org.projectlombok:lombok:1.18.22")
|
||||
annotationProcessor("org.projectlombok:lombok:1.18.22")
|
||||
implementation("org.projectlombok:lombok:1.18.24")
|
||||
implementation("org.jetbrains:annotations:23.0.0")
|
||||
annotationProcessor("org.projectlombok:lombok:1.18.24")
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
repositories {
|
||||
maven {
|
||||
val releasesRepoUrl = uri("https://nexus.telesphoreo.me/repository/plex-releases")
|
||||
val snapshotsRepoUrl = uri("https://nexus.telesphoreo.me/repository/plex-snapshots")
|
||||
url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)
|
||||
credentials {
|
||||
username = System.getenv("plexUser")
|
||||
password = System.getenv("plexPassword")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue