Skip to content

Commit

Permalink
Remove 'buildtools'
Browse files Browse the repository at this point in the history
  • Loading branch information
ChachyDev committed Jan 14, 2023
1 parent 9691714 commit 5c5c75d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
18 changes: 0 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
plugins {
id "java-gradle-plugin"
id "org.jetbrains.kotlin.jvm" version "1.5.21"
id "org.bookmc.buildtools" version "0.3.8+build.29"
id "maven-publish"
}

Expand Down Expand Up @@ -123,23 +122,6 @@ compileTestKotlin {
}

publishing {
repositories {
maven {
def env = System.getenv()

boolean isEnvVarsAvailable = env.containsKey("MAVEN_USER") && env.containsKey("MAVEN_PASSWORD")

if (isEnvVarsAvailable) {
credentials {
username env.get("MAVEN_USER")
password env.get("MAVEN_PASSWORD")
}
}

url = local || !isEnvVarsAvailable ? "$buildDir/repository" : "https://maven.bookmc.org/releases/"
}
}

publications {
//noinspection GroovyAssignabilityCheck
mavenJava(MavenPublication) {
Expand Down
10 changes: 0 additions & 10 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
maven {
url "https://maven.bookmc.org/releases/"
}
}
}

rootProject.name = "PufferfishGradle"

0 comments on commit 5c5c75d

Please sign in to comment.