Skip to content

Commit d0d117b

Browse files
committed
Trying to gradlelize the project
1 parent 8605a4b commit d0d117b

18 files changed

+990
-44
lines changed

.gitignore

+236
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,236 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/java,gradle,intellij,eclipse
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=java,gradle,intellij,eclipse
3+
4+
### Eclipse ###
5+
.metadata
6+
bin/
7+
tmp/
8+
*.tmp
9+
*.bak
10+
*.swp
11+
*~.nib
12+
local.properties
13+
.settings/
14+
.loadpath
15+
.recommenders
16+
17+
# External tool builders
18+
.externalToolBuilders/
19+
20+
# Locally stored "Eclipse launch configurations"
21+
*.launch
22+
23+
# PyDev specific (Python IDE for Eclipse)
24+
*.pydevproject
25+
26+
# CDT-specific (C/C++ Development Tooling)
27+
.cproject
28+
29+
# CDT- autotools
30+
.autotools
31+
32+
# Java annotation processor (APT)
33+
.factorypath
34+
35+
# PDT-specific (PHP Development Tools)
36+
.buildpath
37+
38+
# sbteclipse plugin
39+
.target
40+
41+
# Tern plugin
42+
.tern-project
43+
44+
# TeXlipse plugin
45+
.texlipse
46+
47+
# STS (Spring Tool Suite)
48+
.springBeans
49+
50+
# Code Recommenders
51+
.recommenders/
52+
53+
# Annotation Processing
54+
.apt_generated/
55+
.apt_generated_test/
56+
57+
# Scala IDE specific (Scala & Java development for Eclipse)
58+
.cache-main
59+
.scala_dependencies
60+
.worksheet
61+
62+
# Uncomment this line if you wish to ignore the project description file.
63+
# Typically, this file would be tracked if it contains build/dependency configurations:
64+
#.project
65+
66+
### Eclipse Patch ###
67+
# Spring Boot Tooling
68+
.sts4-cache/
69+
70+
### Intellij ###
71+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
72+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
73+
74+
# User-specific stuff
75+
.idea/**/workspace.xml
76+
.idea/**/tasks.xml
77+
.idea/**/usage.statistics.xml
78+
.idea/**/dictionaries
79+
.idea/**/shelf
80+
81+
# AWS User-specific
82+
.idea/**/aws.xml
83+
84+
# Generated files
85+
.idea/**/contentModel.xml
86+
87+
# Sensitive or high-churn files
88+
.idea/**/dataSources/
89+
.idea/**/dataSources.ids
90+
.idea/**/dataSources.local.xml
91+
.idea/**/sqlDataSources.xml
92+
.idea/**/dynamic.xml
93+
.idea/**/uiDesigner.xml
94+
.idea/**/dbnavigator.xml
95+
96+
# Gradle
97+
.idea/**/gradle.xml
98+
.idea/**/libraries
99+
100+
# Gradle and Maven with auto-import
101+
# When using Gradle or Maven with auto-import, you should exclude module files,
102+
# since they will be recreated, and may cause churn. Uncomment if using
103+
# auto-import.
104+
.idea/artifacts
105+
.idea/compiler.xml
106+
.idea/jarRepositories.xml
107+
.idea/modules.xml
108+
.idea/*.iml
109+
.idea/modules
110+
*.iml
111+
*.ipr
112+
113+
# CMake
114+
cmake-build-*/
115+
116+
# Mongo Explorer plugin
117+
.idea/**/mongoSettings.xml
118+
119+
# File-based project format
120+
*.iws
121+
122+
# IntelliJ
123+
out/
124+
125+
# mpeltonen/sbt-idea plugin
126+
.idea_modules/
127+
128+
# JIRA plugin
129+
atlassian-ide-plugin.xml
130+
131+
# Cursive Clojure plugin
132+
.idea/replstate.xml
133+
134+
# SonarLint plugin
135+
.idea/sonarlint/
136+
137+
# Crashlytics plugin (for Android Studio and IntelliJ)
138+
com_crashlytics_export_strings.xml
139+
crashlytics.properties
140+
crashlytics-build.properties
141+
fabric.properties
142+
143+
# Editor-based Rest Client
144+
.idea/httpRequests
145+
146+
# Android studio 3.1+ serialized cache file
147+
.idea/caches/build_file_checksums.ser
148+
149+
### Intellij Patch ###
150+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
151+
152+
*.iml
153+
modules.xml
154+
.idea/misc.xml
155+
*.ipr
156+
157+
# Sonarlint plugin
158+
# https://plugins.jetbrains.com/plugin/7973-sonarlint
159+
.idea/**/sonarlint/
160+
161+
# SonarQube Plugin
162+
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
163+
.idea/**/sonarIssues.xml
164+
165+
# Markdown Navigator plugin
166+
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
167+
.idea/**/markdown-navigator.xml
168+
.idea/**/markdown-navigator-enh.xml
169+
.idea/**/markdown-navigator/
170+
171+
# Cache file creation bug
172+
# See https://youtrack.jetbrains.com/issue/JBR-2257
173+
.idea/$CACHE_FILE$
174+
175+
# CodeStream plugin
176+
# https://plugins.jetbrains.com/plugin/12206-codestream
177+
.idea/codestream.xml
178+
179+
# Azure Toolkit for IntelliJ plugin
180+
# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij
181+
.idea/**/azureSettings.xml
182+
183+
### Java ###
184+
# Compiled class file
185+
*.class
186+
187+
# Log file
188+
*.log
189+
190+
# BlueJ files
191+
*.ctxt
192+
193+
# Mobile Tools for Java (J2ME)
194+
.mtj.tmp/
195+
196+
# Package Files #
197+
*.jar
198+
*.war
199+
*.nar
200+
*.ear
201+
*.zip
202+
*.tar.gz
203+
*.rar
204+
205+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
206+
hs_err_pid*
207+
replay_pid*
208+
209+
### Gradle ###
210+
.gradle
211+
**/build/
212+
!src/**/build/
213+
214+
# Ignore Gradle GUI config
215+
gradle-app.setting
216+
217+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
218+
!gradle-wrapper.jar
219+
220+
# Avoid ignore Gradle wrappper properties
221+
!gradle-wrapper.properties
222+
223+
# Cache of project
224+
.gradletasknamecache
225+
226+
# Eclipse Gradle plugin generated files
227+
# Eclipse Core
228+
.project
229+
# JDT-specific (Eclipse Java Development Tools)
230+
.classpath
231+
232+
### Gradle Patch ###
233+
# Java heap dump
234+
*.hprof
235+
236+
# End of https://www.toptal.com/developers/gitignore/api/java,gradle,intellij,eclipse

.idea/.gitignore

+8
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.

JShellAPI/.gitignore

+12-12
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ local.properties
101101
# When using Gradle or Maven with auto-import, you should exclude module files,
102102
# since they will be recreated, and may cause churn. Uncomment if using
103103
# auto-import.
104-
# .idea/artifacts
105-
# .idea/compiler.xml
106-
# .idea/jarRepositories.xml
107-
# .idea/modules.xml
108-
# .idea/*.iml
109-
# .idea/modules
110-
# *.iml
111-
# *.ipr
104+
.idea/artifacts
105+
.idea/compiler.xml
106+
.idea/jarRepositories.xml
107+
.idea/modules.xml
108+
.idea/*.iml
109+
.idea/modules
110+
*.iml
111+
*.ipr
112112

113113
# CMake
114114
cmake-build-*/
@@ -149,10 +149,10 @@ fabric.properties
149149
### Intellij Patch ###
150150
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
151151

152-
# *.iml
153-
# modules.xml
154-
# .idea/misc.xml
155-
# *.ipr
152+
*.iml
153+
modules.xml
154+
.idea/misc.xml
155+
*.ipr
156156

157157
# Sonarlint plugin
158158
# https://plugins.jetbrains.com/plugin/7973-sonarlint

JShellAPI/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ repositories {
1313
}
1414

1515
dependencies {
16+
implementation project(':JShellWrapper')
1617
implementation 'org.springframework.boot:spring-boot-starter-web'
1718
testImplementation 'org.springframework.boot:spring-boot-starter-test'
1819
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"

JShellWrapper/.gitignore

+12-12
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ local.properties
101101
# When using Gradle or Maven with auto-import, you should exclude module files,
102102
# since they will be recreated, and may cause churn. Uncomment if using
103103
# auto-import.
104-
# .idea/artifacts
105-
# .idea/compiler.xml
106-
# .idea/jarRepositories.xml
107-
# .idea/modules.xml
108-
# .idea/*.iml
109-
# .idea/modules
110-
# *.iml
111-
# *.ipr
104+
.idea/artifacts
105+
.idea/compiler.xml
106+
.idea/jarRepositories.xml
107+
.idea/modules.xml
108+
.idea/*.iml
109+
.idea/modules
110+
*.iml
111+
*.ipr
112112

113113
# CMake
114114
cmake-build-*/
@@ -149,10 +149,10 @@ fabric.properties
149149
### Intellij Patch ###
150150
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
151151

152-
# *.iml
153-
# modules.xml
154-
# .idea/misc.xml
155-
# *.ipr
152+
*.iml
153+
modules.xml
154+
.idea/misc.xml
155+
*.ipr
156156

157157
# Sonarlint plugin
158158
# https://plugins.jetbrains.com/plugin/7973-sonarlint

JShellWrapper/.idea/JShellWrapper.iml

-12
This file was deleted.

JShellWrapper/.idea/modules.xml

-8
This file was deleted.

JShellWrapper/build.gradle

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
plugins {
2+
id 'java'
3+
id 'com.google.cloud.tools.jib' version '3.3.0'
4+
}
5+
6+
group 'org.togetherjava'
7+
version '1.0-SNAPSHOT'
8+
sourceCompatibility = '19'
9+
10+
repositories {
11+
mavenCentral()
12+
}
13+
14+
jib {
15+
from.image = 'eclipse-temurin:19-alpine'
16+
to {
17+
image = "test_todo"
18+
}
19+
}
20+
21+
dependencies {
22+
}
23+
24+
tasks.named('test') {
25+
useJUnitPlatform()
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
4+
networkTimeout=10000
5+
zipStoreBase=GRADLE_USER_HOME
6+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)