forked from Steven/DeepJ
a
This commit is contained in:
parent
04bfc0fe22
commit
31268450e7
@ -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>
|
13
build.gradle
13
build.gradle
@ -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'
|
||||
}
|
Loading…
Reference in New Issue
Block a user