Skip to content

Commit

Permalink
changed something
Browse files Browse the repository at this point in the history
  • Loading branch information
Nansess committed Mar 10, 2024
1 parent 741d039 commit 11b443e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
4 changes: 0 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ def getGitVersion() {
return [versionStr.toString().trim(), true]
}

var isMavenDefined = findProperty("MAVEN_USERNAME") != null && findProperty("MAVEN_PASSWORD") != null
var isLavalinkMavenDefined = findProperty("LAVALINK_MAVEN_USERNAME") != null && findProperty("LAVALINK_MAVEN_PASSWORD") != null

subprojects {
apply plugin: "java"
apply plugin: "maven-publish"
Expand All @@ -55,7 +52,6 @@ subprojects {

publishing {
repositories {

System.out.println("Publishing to JitPack")

maven {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,4 +345,4 @@ class TidalSourceManager(
override fun getHttpInterface(): HttpInterface {
return httpInterfaceManager.getInterface()
}
}
}
11 changes: 9 additions & 2 deletions plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ plugins {
id "dev.arbjerg.lavalink.gradle-plugin" version "1.0.15"
}

archivesBaseName = "lavasrc-plugin"
archivesBaseName = "baldman-lavasrc"
lavalinkPlugin {
name = "lavasrc-plugin"
name = "baldman-lavasrc"
apiVersion = "4.0.0"
serverVersion = "4.0.0"
configurePublishing = false
Expand All @@ -26,4 +26,11 @@ publishing {
artifactId archivesBaseName
}
}

repositories {
maven {
name = "JitPack"
url = uri("https://jitpack.io")
}
}
}
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rootProject.name = "LavaSrc"
rootProject.name = "BaldMan-LavaSrc"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

include(":main")
Expand Down

0 comments on commit 11b443e

Please sign in to comment.