Skip to content

Commit

Permalink
Change javax.annotation.Generated from jsr205 to jakarta.annotation.G…
Browse files Browse the repository at this point in the history
…enerated from jakarta.annotation:annotation-api
  • Loading branch information
Apanatshka committed Jul 29, 2024
1 parent aec1bcb commit 7a1e6d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lwb.distrib/spoofax.lwb.eclipse/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ val privatePackage = listOf(
"com.google.common.util.concurrent.internal.*",
"com.squareup.javapoet.*",
"kotlin.*;-split-package:=merge-first",
"javax.annotation.*;-split-package:=merge-first",
"jakarta.annotation.*",
// Embed `io.github.classgraph:classgraph`.
"io.github.classgraph.*",
"nonapi.io.github.classgraph.*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import org.eclipse.ui.texteditor.IDocumentProvider;
import org.osgi.framework.BundleActivator;

import javax.annotation.Generated;
import jakarta.annotation.Generated;
import javax.annotation.Nullable;
import java.io.File;
import java.util.Comparator;
Expand All @@ -49,7 +49,7 @@ public static List<File> getClassPath() {
.addClassLoader(GppEclipseParticipant.class.getClassLoader())
.addClassLoader(Rv32ImEclipseComponent.class.getClassLoader())

.addClassLoader(Generated.class.getClassLoader()) // Artifact: javax.annotation:jsr250-api:1.0
.addClassLoader(Generated.class.getClassLoader()) // Artifact: jakarta.annotation:annotation-api:2.1.0

.addClassLoader(BundleActivator.class.getClassLoader()) // Bundle: org.eclipse.osgi
.addClassLoader(IConfigurationElement.class.getClassLoader()) // Bundle: org.eclipse.equinox.registry
Expand Down

0 comments on commit 7a1e6d3

Please sign in to comment.