Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
3420928d
Commit
3420928d
authored
4 years ago
by
Lorenz Boguhn
Committed by
Sören Henning
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add Ktlint to gradle.build and CI pipeline
parent
a6c44bb2
No related branches found
No related tags found
4 merge requests
!159
Re-implementation of Theodolite with Kotlin/Quarkus
,
!157
Update Graal Image in CI pipeline
,
!84
Gitlab CI for Theodolite-Kotlin-Quarkus
,
!83
WIP: Re-implementation of Theodolite with Kotlin/Quarkus
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theodolite-quarkus/.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
theodolite-quarkus/.gitlab-ci.yml
theodolite-quarkus/build.gradle
+6
-1
6 additions, 1 deletion
theodolite-quarkus/build.gradle
with
10 additions
and
5 deletions
theodolite-quarkus/.gitlab-ci.yml
+
4
−
4
View file @
3420928d
...
...
@@ -23,10 +23,10 @@ test:
script
:
-
./theodolite-quarkus/gradlew test --stacktrace
#
code_style_klint:
#
stage: test
#
script:
#
- ./theodolite-quarkus/gradlew ktlintCheck
code_style_klint
:
stage
:
test
script
:
-
./theodolite-quarkus/gradlew ktlintCheck
codeanalysis_detekt
:
stage
:
test
...
...
This diff is collapsed.
Click to expand it.
theodolite-quarkus/build.gradle
+
6
−
1
View file @
3420928d
...
...
@@ -2,7 +2,8 @@ plugins {
id
'org.jetbrains.kotlin.jvm'
version
"1.3.72"
id
"org.jetbrains.kotlin.plugin.allopen"
version
"1.3.72"
id
'io.quarkus'
id
"io.gitlab.arturbosch.detekt"
version
"1.15.0"
id
"io.gitlab.arturbosch.detekt"
version
"1.15.0"
//For code style
id
"org.jlleitschuh.gradle.ktlint"
version
"10.0.0"
// same as above
}
repositories
{
...
...
@@ -53,4 +54,8 @@ detekt {
failFast
=
true
// fail build on any finding
buildUponDefaultConfig
=
true
ignoreFailures
=
true
}
ktlint
{
ignoreFailures
=
true
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment