Skip to content

Commit 3b56496

Browse files
migrate from maven to gradle for better dependencies calirity
1 parent cf68713 commit 3b56496

16 files changed

+461
-911
lines changed

.gitignore

+25-29
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,45 @@
1-
# Java specific
2-
target/
3-
!**/src/main/**/target/
4-
!**/src/test/**/target/
5-
*.class
6-
7-
# Maven specific
8-
mvnw
9-
mvnw.cmd
10-
.mvn
11-
!.mvn/wrapper/maven-wrapper.jar
1+
.gradle
2+
build/
3+
!gradle/wrapper/gradle-wrapper.jar
4+
!**/src/main/**/build/
5+
!**/src/test/**/build/
126

13-
# IDE specific
147
### IntelliJ IDEA ###
15-
.idea
8+
.idea/modules.xml
9+
.idea/jarRepositories.xml
10+
.idea/compiler.xml
11+
.idea/libraries/
1612
*.iws
1713
*.iml
1814
*.ipr
15+
out/
16+
!**/src/main/**/out/
17+
!**/src/test/**/out/
1918

20-
### NetBeans ###
21-
/nbproject/private/
22-
/nbbuild/
23-
/dist/
24-
/nbdist/
25-
/.nb-gradle/
26-
build/
27-
!**/src/main/**/build/
28-
!**/src/test/**/build/
29-
30-
### STS ###
19+
### Eclipse ###
3120
.apt_generated
3221
.classpath
3322
.factorypath
3423
.project
3524
.settings
3625
.springBeans
3726
.sts4-cache
27+
bin/
28+
!**/src/main/**/bin/
29+
!**/src/test/**/bin/
30+
31+
### NetBeans ###
32+
/nbproject/private/
33+
/nbbuild/
34+
/dist/
35+
/nbdist/
36+
/.nb-gradle/
3837

3938
### VS Code ###
4039
.vscode/
4140

42-
# System files
41+
### Mac OS ###
4342
.DS_Store
44-
45-
node_modules/
43+
src/frontend/node_modules/
4644

4745
src/frontend/.next/
48-
49-
/src/frontend/

.idea/.gitignore

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
plugins {
2+
id 'java'
3+
id 'org.springframework.boot' version '3.3.6'
4+
id 'io.spring.dependency-management' version '1.1.6'
5+
id 'org.springdoc.openapi-gradle-plugin' version "1.9.0"
6+
id 'com.adarshr.test-logger' version '4.0.0'
7+
}
8+
9+
group = 'org.semantics.apigateway'
10+
version = '1.0-SNAPSHOT'
11+
repositories {
12+
mavenCentral()
13+
}
14+
15+
dependencies {
16+
implementation 'org.springframework.boot:spring-boot-starter'
17+
implementation 'org.springframework.boot:spring-boot-starter-web'
18+
implementation 'org.springframework.boot:spring-boot-starter-security'
19+
implementation 'org.springframework.boot:spring-boot-starter-validation'
20+
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
21+
implementation 'org.springframework.boot:spring-boot-starter-actuator'
22+
developmentOnly 'org.springframework.boot:spring-boot-devtools'
23+
developmentOnly 'org.springframework.boot:spring-boot-docker-compose'
24+
25+
// Lucene for text search
26+
implementation 'org.apache.lucene:lucene-core:9.11.1'
27+
implementation 'org.apache.lucene:lucene-analyzers-common:8.11.2'
28+
implementation 'org.apache.lucene:lucene-queryparser:9.11.1'
29+
30+
// Jena for RDF manipulation
31+
implementation 'org.apache.jena:jena-iri:3.16.0'
32+
implementation 'org.apache.jena:jena-core:3.16.0'
33+
implementation 'org.apache.jena:jena-arq:3.16.0'
34+
35+
// Database
36+
runtimeOnly 'org.postgresql:postgresql'
37+
38+
// Lombok annotation helpers
39+
compileOnly 'org.projectlombok:lombok'
40+
annotationProcessor 'org.projectlombok:lombok'
41+
42+
implementation group: 'com.google.code.gson', name: 'gson', version: '2.11.0'
43+
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
44+
implementation 'com.github.jsonld-java:jsonld-java:0.13.3'
45+
implementation 'org.springframework.boot:spring-boot-starter-integration'
46+
47+
// Swagger UI
48+
implementation group: 'org.springdoc', name: 'springdoc-openapi-starter-webmvc-ui', version: '2.6.0'
49+
50+
// Tests
51+
testImplementation 'org.springframework.boot:spring-boot-starter-test'
52+
testRuntimeOnly 'com.h2database:h2'
53+
}
54+
55+
test {
56+
useJUnitPlatform()
57+
testlogger {
58+
theme 'mocha' // Options: 'standard', 'mocha', 'plain', 'paradise'
59+
showExceptions true
60+
showStackTraces true
61+
showCauses true
62+
logLevel 'quiet'
63+
}
64+
65+
}

gradle/wrapper/gradle-wrapper.jar

59.3 KB
Binary file not shown.
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Wed Dec 18 13:26:21 CET 2024
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
5+
zipStoreBase=GRADLE_USER_HOME
6+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)