Package to Gitea now
This commit is contained in:
parent
b7f0e13e70
commit
67e2731960
14
build.gradle
14
build.gradle
@ -5,7 +5,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group 'tech.nevets.osql4j'
|
group 'tech.nevets.osql4j'
|
||||||
version '1.0.1'
|
version '1.0.0'
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_17
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
targetCompatibility = JavaVersion.VERSION_17
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
@ -24,22 +24,22 @@ apply plugin: 'maven-publish'
|
|||||||
publishing {
|
publishing {
|
||||||
publications{
|
publications{
|
||||||
publish(MavenPublication) {
|
publish(MavenPublication) {
|
||||||
artifact("nexus/OSQL4J-$version" + ".jar") {
|
artifact("nexus/OSQL4J-$version" + "-no-deps.jar") {
|
||||||
classifier 'no-deps'
|
classifier 'no-deps'
|
||||||
extension 'jar'
|
extension 'jar'
|
||||||
}
|
}
|
||||||
artifact("nexus/OSQL4J-$version" + "-bundled.jar") {
|
artifact("nexus/OSQL4J-$version" + ".jar") {
|
||||||
extension 'jar'
|
extension 'jar'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name 'nexus'
|
name 'gitea'
|
||||||
url "https://repo.nevets.tech/repository/maven-releases/"
|
url "https://git.nevets.tech/api/packages/Steven/maven"
|
||||||
credentials {
|
credentials {
|
||||||
username System.getenv('nexusUser')
|
username System.getenv('giteaUser')
|
||||||
password System.getenv('nexusPass')
|
password System.getenv('giteaPass')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user