Skip to content

Commit 494a607

Browse files
committed
Migrate to gradle
1 parent 85fbc7a commit 494a607

14 files changed

+452
-750
lines changed

Diff for: .gitignore

+86-22
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
2-
# Created by https://www.gitignore.io/api/java,maven,linux,osx,node,intellij
3-
# Edit at https://www.gitignore.io/?templates=java,maven,linux,osx,node,intellij
1+
# Created by https://www.toptal.com/developers/gitignore/api/java,gradle,linux,osx,node,intellij
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=java,gradle,linux,osx,node,intellij
43

54
### Intellij ###
6-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
5+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
76
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
87

98
# User-specific stuff
@@ -33,9 +32,14 @@
3332
# When using Gradle or Maven with auto-import, you should exclude module files,
3433
# since they will be recreated, and may cause churn. Uncomment if using
3534
# auto-import.
35+
# .idea/artifacts
36+
# .idea/compiler.xml
37+
# .idea/jarRepositories.xml
3638
# .idea/modules.xml
3739
# .idea/*.iml
3840
# .idea/modules
41+
# *.iml
42+
# *.ipr
3943

4044
# CMake
4145
cmake-build-*/
@@ -79,7 +83,26 @@ fabric.properties
7983
# *.ipr
8084

8185
# Sonarlint plugin
82-
.idea/sonarlint
86+
# https://plugins.jetbrains.com/plugin/7973-sonarlint
87+
.idea/**/sonarlint/
88+
89+
# SonarQube Plugin
90+
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
91+
.idea/**/sonarIssues.xml
92+
93+
# Markdown Navigator plugin
94+
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
95+
.idea/**/markdown-navigator.xml
96+
.idea/**/markdown-navigator-enh.xml
97+
.idea/**/markdown-navigator/
98+
99+
# Cache file creation bug
100+
# See https://youtrack.jetbrains.com/issue/JBR-2257
101+
.idea/$CACHE_FILE$
102+
103+
# CodeStream plugin
104+
# https://plugins.jetbrains.com/plugin/12206-codestream
105+
.idea/codestream.xml
83106

84107
### Java ###
85108
# Compiled class file
@@ -121,24 +144,16 @@ hs_err_pid*
121144
# .nfs files are created when an open file is removed but is still being accessed
122145
.nfs*
123146

124-
### Maven ###
125-
target/
126-
pom.xml.tag
127-
pom.xml.releaseBackup
128-
pom.xml.versionsBackup
129-
pom.xml.next
130-
release.properties
131-
dependency-reduced-pom.xml
132-
buildNumber.properties
133-
.mvn/timing.properties
134-
.mvn/wrapper/maven-wrapper.jar
135-
136147
### Node ###
137148
# Logs
138149
logs
139150
npm-debug.log*
140151
yarn-debug.log*
141152
yarn-error.log*
153+
lerna-debug.log*
154+
155+
# Diagnostic reports (https://nodejs.org/api/report.html)
156+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
142157

143158
# Runtime data
144159
pids
@@ -151,6 +166,7 @@ lib-cov
151166

152167
# Coverage directory used by tools like istanbul
153168
coverage
169+
*.lcov
154170

155171
# nyc test coverage
156172
.nyc_output
@@ -174,12 +190,21 @@ jspm_packages/
174190
# TypeScript v1 declaration files
175191
typings/
176192

193+
# TypeScript cache
194+
*.tsbuildinfo
195+
177196
# Optional npm cache directory
178197
.npm
179198

180199
# Optional eslint cache
181200
.eslintcache
182201

202+
# Microbundle cache
203+
.rpt2_cache/
204+
.rts2_cache_cjs/
205+
.rts2_cache_es/
206+
.rts2_cache_umd/
207+
183208
# Optional REPL history
184209
.node_repl_history
185210

@@ -191,25 +216,44 @@ typings/
191216

192217
# dotenv environment variables file
193218
.env
219+
.env.test
220+
.env*.local
194221

195222
# parcel-bundler cache (https://parceljs.org/)
196223
.cache
224+
.parcel-cache
197225

198-
# next.js build output
226+
# Next.js build output
199227
.next
200228

201-
# nuxt.js build output
229+
# Nuxt.js build / generate output
202230
.nuxt
231+
dist
232+
233+
# Gatsby files
234+
.cache/
235+
# Comment in the public line in if your project uses Gatsby and not Next.js
236+
# https://nextjs.org/blog/next-9-1#public-directory-support
237+
# public
203238

204239
# vuepress build output
205240
.vuepress/dist
206241

207242
# Serverless directories
208-
.serverless
243+
.serverless/
209244

210245
# FuseBox cache
211246
.fusebox/
212247

248+
# DynamoDB Local files
249+
.dynamodb/
250+
251+
# TernJS port file
252+
.tern-port
253+
254+
# Stores VSCode versions used for testing VSCode extensions
255+
.vscode-test
256+
213257
### OSX ###
214258
# General
215259
.DS_Store
@@ -219,6 +263,7 @@ typings/
219263
# Icon must end with two \r
220264
Icon
221265

266+
222267
# Thumbnails
223268
._*
224269

@@ -238,7 +283,26 @@ Network Trash Folder
238283
Temporary Items
239284
.apdisk
240285

241-
# End of https://www.gitignore.io/api/java,maven,linux,osx,node,intellij
286+
### Gradle ###
287+
.gradle
288+
build/
289+
290+
# Ignore Gradle GUI config
291+
gradle-app.setting
292+
293+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
294+
!gradle-wrapper.jar
295+
296+
# Cache of project
297+
.gradletasknamecache
298+
299+
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
300+
# gradle/wrapper/gradle-wrapper.properties
301+
302+
### Gradle Patch ###
303+
**/build/
304+
305+
# End of https://www.toptal.com/developers/gitignore/api/java,gradle,linux,osx,node,intellij
242306

243307
*.iml
244-
.idea/
308+
.idea

Diff for: .mvn/wrapper/MavenWrapperDownloader.java

-117
This file was deleted.

Diff for: .mvn/wrapper/maven-wrapper.properties

-2
This file was deleted.

Diff for: build.gradle

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
* MIT License
3+
*
4+
* Copyright (c) 2020-present Cloudogu GmbH and Contributors
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in all
14+
* copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
* SOFTWARE.
23+
*/
24+
25+
26+
plugins {
27+
id 'org.scm-manager.smp' version '0.7.4'
28+
}
29+
30+
scmPlugin {
31+
scmVersion = "2.1.0"
32+
displayName = "Pushlog"
33+
description = "Tracks who pushed what to a repository"
34+
author = "Cloudogu GmbH"
35+
category = "Administration"
36+
37+
}

Diff for: gradle.properties

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#
2+
# MIT License
3+
#
4+
# Copyright (c) 2020-present Cloudogu GmbH and Contributors
5+
#
6+
# Permission is hereby granted, free of charge, to any person obtaining a copy
7+
# of this software and associated documentation files (the "Software"), to deal
8+
# in the Software without restriction, including without limitation the rights
9+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
# copies of the Software, and to permit persons to whom the Software is
11+
# furnished to do so, subject to the following conditions:
12+
#
13+
# The above copyright notice and this permission notice shall be included in all
14+
# copies or substantial portions of the Software.
15+
#
16+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
# SOFTWARE.
23+
#
24+
25+
version=2.2.0-SNAPSHOT

Diff for: gradle/wrapper/gradle-wrapper.jar

57.8 KB
Binary file not shown.

Diff for: gradle/wrapper/gradle-wrapper.properties

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)