HHH-15484 Switch GraalVM native-image dependencies to org.graalvm.sdk:graal-sdk
This commit is contained in:
parent
c0afae8cb3
commit
b57f4a6b12
|
@ -12,7 +12,7 @@ apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
|||
dependencies {
|
||||
//No need for transitive dependencies: this is all just metadata to be used as companion jar.
|
||||
compileOnly project( ':hibernate-core' )
|
||||
compileOnly "org.graalvm.nativeimage:svm:22.0.0.2"
|
||||
compileOnly "org.graalvm.sdk:graal-sdk:22.2.0"
|
||||
|
||||
testImplementation project( ':hibernate-core' )
|
||||
}
|
||||
|
|
|
@ -12,7 +12,6 @@ import java.util.ArrayList;
|
|||
|
||||
import org.hibernate.internal.util.ReflectHelper;
|
||||
|
||||
import com.oracle.svm.core.annotate.AutomaticFeature;
|
||||
import org.graalvm.nativeimage.hosted.Feature;
|
||||
import org.graalvm.nativeimage.hosted.RuntimeReflection;
|
||||
|
||||
|
@ -34,7 +33,6 @@ import org.graalvm.nativeimage.hosted.RuntimeReflection;
|
|||
* </p>
|
||||
* @author Sanne Grinovero
|
||||
*/
|
||||
@AutomaticFeature
|
||||
public class GraalVMStaticAutofeature implements Feature {
|
||||
|
||||
public void beforeAnalysis(Feature.BeforeAnalysisAccess before) {
|
||||
|
|
|
@ -14,7 +14,6 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
|||
import org.hibernate.internal.build.AllowSysOut;
|
||||
import org.hibernate.internal.util.ReflectHelper;
|
||||
|
||||
import com.oracle.svm.core.annotate.AutomaticFeature;
|
||||
import org.graalvm.nativeimage.hosted.Feature;
|
||||
import org.graalvm.nativeimage.hosted.RuntimeReflection;
|
||||
|
||||
|
@ -33,7 +32,6 @@ import org.graalvm.nativeimage.hosted.RuntimeReflection;
|
|||
*
|
||||
* @author Sanne Grinovero
|
||||
*/
|
||||
@AutomaticFeature
|
||||
public final class QueryParsingSupport implements Feature {
|
||||
|
||||
private final AtomicBoolean triggered = new AtomicBoolean( false);
|
||||
|
|
Loading…
Reference in New Issue