Skip to content

Commit ccdf9eb

Browse files
committed
Remove references to repo.bookmc.org
1 parent b9e61de commit ccdf9eb

File tree

3 files changed

+2
-42
lines changed

3 files changed

+2
-42
lines changed

build.gradle

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ plugins {
22
id "java"
33
id "maven-publish"
44
id "java-gradle-plugin"
5-
id "org.bookmc.buildtools" version "0.3.8+build.29"
6-
}
7-
8-
ext {
9-
def env = System.getenv()
10-
buildNumber = env.BUILD_NUMBER
11-
local = buildNumber == null
12-
branch = "git rev-parse --abbrev-ref HEAD".execute().text.trim()
135
}
146

157
java {
@@ -19,17 +11,14 @@ java {
1911
}
2012

2113
group "org.bookmc"
22-
version "0.2.1${branch != "main" && !branch.isEmpty() ? "-$branch" : ""}+${buildNumber ? "build.$buildNumber" : "local"}"
14+
version "0.2.1"
2315

2416
dependencies {
2517
compileOnly gradleApi()
2618
}
2719

2820
repositories {
2921
mavenCentral()
30-
maven {
31-
url "https://maven.bookmc.org"
32-
}
3322
maven {
3423
url "https://maven.fabricmc.net"
3524
}
@@ -50,7 +39,7 @@ dependencies {
5039

5140
implementation "com.google.code.gson:gson:2.8.8"
5241
implementation "com.google.guava:guava:30.1.1-jre"
53-
compileOnly "me.dreamhopping.pml:PufferfishGradle:3.11.0+build.21"
42+
compileOnly "com.github.BookMC:PufferfishGradle:3.14.1"
5443
}
5544

5645
java {
@@ -68,23 +57,6 @@ gradlePlugin {
6857
}
6958

7059
publishing {
71-
repositories {
72-
maven {
73-
def env = System.getenv()
74-
75-
boolean isEnvVarsAvailable = env.containsKey("MAVEN_USER") && env.containsKey("MAVEN_PASSWORD")
76-
77-
if (isEnvVarsAvailable) {
78-
credentials {
79-
username env.get("MAVEN_USER")
80-
password env.get("MAVEN_PASSWORD")
81-
}
82-
}
83-
84-
url = local || !isEnvVarsAvailable ? "$buildDir/repository" : "https://maven.bookmc.org/releases/"
85-
}
86-
}
87-
8860
publications {
8961
//noinspection GroovyAssignabilityCheck
9062
mavenJava(MavenPublication) {

settings.gradle

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
2-
pluginManagement {
3-
repositories {
4-
gradlePluginPortal()
5-
maven {
6-
url "https://maven.bookmc.org"
7-
}
8-
}
9-
}
101
rootProject.name = "annotation-processor-configuration"

src/main/java/org/bookmc/mixin/MixinAnnotationProcessorConfigurationPlugin.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
public class MixinAnnotationProcessorConfigurationPlugin implements Plugin<Project> {
1717
@Override
1818
public void apply(@Nonnull Project project) {
19-
project.getRepositories()
20-
.mavenCentral()
21-
.setUrl("https://maven.bookmc.org");
2219

2320
project.getExtensions().add(Constants.Extension.NAME, new MixinExtension());
2421

0 commit comments

Comments
 (0)