<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.Ph1Lou</groupId>
<artifactId>werewolfapi</artifactId>
<version>master-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
Sur Intellij master-SNAPSHOT sera en rouge, il charge la dépendance quand même normalement
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.Ph1Lou:WerewolfApi:-SNAPSHOT'
}