Skip to content

Commit

Permalink
⬆️ Bump gradle version, replace deprecated javax.annotation-api with …
Browse files Browse the repository at this point in the history
…jakarta.annotation-api
  • Loading branch information
itsTyrion committed Dec 1, 2023
1 parent 7b69325 commit 6273bcf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ repositories {
}

group 'de.itsTyrion'
version '1.1'
version '1.1.1'

dependencies {
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
compileOnly 'org.projectlombok:lombok:1.18.30'
}

Expand All @@ -29,8 +29,9 @@ jar {

publishing {
publications {
//noinspection GroovyAssignabilityCheck
// noinspection GroovyAssignabilityCheck
mavenJava(MavenPublication) {
// noinspection GroovyAssignabilityCheck, GrUnresolvedAccess
from components.java
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Nov 22 17:03:32 CET 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
// Retrieve the project version from the processor options, required for plugin.yml `version` property
val projectVersion = processingEnv.getOptions().get("mcPluginVersion");
if (projectVersion == null) {
processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, "`mcPluginVersion` unset!");
processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, "`mcPluginVersion` unset, check the docs.");
return false;
}

Expand Down

0 comments on commit 6273bcf

Please sign in to comment.