Skip to content

Commit

Permalink
fix maven repos
Browse files Browse the repository at this point in the history
  • Loading branch information
granny committed May 2, 2024
1 parent e4d62a3 commit d005c4b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
19 changes: 15 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,31 @@ allprojects {
repositories {
mavenCentral()
maven {
url 'https://repo.granny.dev/snapshots'
url = 'https://repo.granny.dev/snapshots/'
}
maven {
name = 'sonatype-snapshots'
url = 'https://oss.sonatype.org/content/repositories/snapshots/'
mavenContent {
snapshotsOnly()
}
}
maven {
url = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
mavenContent { snapshotsOnly() }
mavenContent {
snapshotsOnly()
}
}
maven {
url = 'https://jitpack.io'
}
maven { url = 'https://jitpack.io' }
}

dependencies {
implementation "org.incendo:cloud-core:$cloudVersion"
implementation "org.incendo:cloud-brigadier:$cloudVersion"
implementation "org.incendo:cloud-paper:$cloudVersion"
implementation "org.incendo:cloud-processors-confirmation:1.0.0-beta.2"
implementation "org.incendo:cloud-processors-confirmation:1.0.0-SNAPSHOT"
implementation("org.incendo:cloud-minecraft-extras:$cloudVersion") {
exclude group: 'net.kyori', module: '*'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
import org.jetbrains.annotations.NotNull;

public class ConfirmCommand extends Pl3xMapCommand {
private final ConfirmationManager<@NotNull Sender> confirmationManager = ConfirmationManager.of(
private final ConfirmationManager<@NotNull Sender> confirmationManager = ConfirmationManager.confirmationManager(
ConfirmationConfiguration.<Sender>builder()
.cache(GuavaCache.of(CacheBuilder.newBuilder().build()))
.noPendingCommandNotifier(sender -> sender.sendMessage(Lang.COMMAND_CONFIRM_NO_PENDING_MESSAGE))
Expand Down

0 comments on commit d005c4b

Please sign in to comment.