update bs+deps

This commit is contained in:
Martin Robertz committed 2023-11-08 08:13:28 +01:00
1 parent f2dc70a3c9
commit 819d28b993
2 files changed
+22 -25

No files matched your search

+21 -24
View File
@@ -1,4 +1,4 @@
//version: 1699231026
//version: 1699290261
/*
DO NOT CHANGE THIS FILE!
Also, you may replace this file at any time if there is an update available.
@@ -1172,32 +1172,29 @@ tasks.named("ideVirtualMainClasses").configure {
// workaround variable hiding in pom processing
def projectConfigs = project.configurations
if (System.getenv("MAVEN_USER") != null) {
publishing {
publications {
create("maven", MavenPublication) {
from components.java
publishing {
publications {
create("maven", MavenPublication) {
from components.java
if (apiPackage) {
artifact apiJar
}
groupId = System.getenv("ARTIFACT_GROUP_ID") ?: project.group
artifactId = System.getenv("ARTIFACT_ID") ?: project.name
// Using the identified version, not project.version as it has the prepended 1.7.10
version = System.getenv("RELEASE_VERSION") ?: identifiedVersion
if (apiPackage) {
artifact apiJar
}
}
repositories {
if (usesMavenPublishing.toBoolean()) {
maven {
url = mavenPublishUrl
allowInsecureProtocol = mavenPublishUrl.startsWith("http://") // Mostly for the GTNH maven
credentials {
username = System.getenv("MAVEN_USER") ?: "NONE"
password = System.getenv("MAVEN_PASSWORD") ?: "NONE"
}
groupId = System.getenv("ARTIFACT_GROUP_ID") ?: project.group
artifactId = System.getenv("ARTIFACT_ID") ?: project.name
// Using the identified version, not project.version as it has the prepended 1.7.10
version = System.getenv("RELEASE_VERSION") ?: identifiedVersion
}
}
repositories {
if (usesMavenPublishing.toBoolean() && System.getenv("MAVEN_USER") != null) {
maven {
url = mavenPublishUrl
allowInsecureProtocol = mavenPublishUrl.startsWith("http://") // Mostly for the GTNH maven
credentials {
username = System.getenv("MAVEN_USER") ?: "NONE"
password = System.getenv("MAVEN_PASSWORD") ?: "NONE"
}
}
}
+1 -1
View File
@@ -2,5 +2,5 @@
dependencies {
api("com.github.GTNewHorizons:CodeChickenLib:1.1.8:dev")
devOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.3.57-GTNH:dev")
devOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.4.9-GTNH:dev")
}