Skip to content

Commit 24226af

Browse files
committed
use openbeans library for reflection
1 parent 5daf626 commit 24226af

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ allprojects {
6868
mavenCentral()
6969
maven { url "https://plugins.gradle.org/m2/" }
7070
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
71+
maven { url 'https://maven.repository.redhat.com/ga/' }
7172
}
7273
}
7374

delivery-sdk/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ dependencies {
1616
implementation("com.fasterxml.jackson.core:jackson-databind:2.12.0")
1717
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.12.0")
1818

19+
implementation('com.googlecode:openbeans:1.0')
1920
implementation("io.github.classgraph:classgraph:4.8.90")
2021

2122
implementation("com.squareup.okhttp3:okhttp:4.9.0")
2223

24+
// compile files('./libs/openbeans-1.0.jar')
2325
compileOnly("org.thymeleaf:thymeleaf:3.0.11.RELEASE")
2426
testImplementation("org.thymeleaf:thymeleaf:3.0.11.RELEASE")
2527

delivery-sdk/src/main/java/kontent/ai/delivery/StronglyTypedContentItemConverter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424

2525
package kontent.ai.delivery;
2626

27-
import java.beans.BeanInfo;
28-
import java.beans.IntrospectionException;
29-
import java.beans.Introspector;
30-
import java.beans.PropertyDescriptor;
27+
import com.googlecode.openbeans.BeanInfo;
28+
import com.googlecode.openbeans.IntrospectionException;
29+
import com.googlecode.openbeans.Introspector;
30+
import com.googlecode.openbeans.PropertyDescriptor;
3131
import io.github.classgraph.ClassGraph;
3232
import io.github.classgraph.ClassInfoList;
3333
import io.github.classgraph.ScanResult;

0 commit comments

Comments
 (0)