This commit is contained in:
5gi 2022-11-08 18:37:33 -05:00
parent 04bfc0fe22
commit 31268450e7
2 changed files with 14 additions and 4 deletions

View File

@ -16,5 +16,10 @@
<option name="name" value="MavenRepo" />
<option name="url" value="https://repo.maven.apache.org/maven2/" />
</remote-repository>
<remote-repository>
<option name="id" value="maven" />
<option name="name" value="maven" />
<option name="url" value="https://jitpack.io" />
</remote-repository>
</component>
</project>

View File

@ -11,10 +11,12 @@ sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
implementation group: 'org.json', name: 'json', version: '20210307'
implementation 'com.github.jitpack:gradle-simple:master-SNAPSHOT'
}
publishing {
@ -27,12 +29,15 @@ publishing {
}
repositories {
maven {
name 'nexus'
url "https://repo.nevets.tech/repository/maven-releases/"
name 'gitea'
url "https://git.nevets.tech/api/packages/5gi/maven"
credentials {
username System.getenv('nexusUser')
password System.getenv('nexusPass')
username System.getenv('5giUserGit')
password System.getenv('5giPassGit')
}
}
}
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}