Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Briar Desktop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
briar
Briar Desktop
Commits
7bb48955
Verified
Commit
7bb48955
authored
2 years ago
by
Mikolai Gütschow
Browse files
Options
Downloads
Patches
Plain Diff
WIP: not working yet
see
https://github.com/JLLeitschuh/ktlint-gradle/issues/610
parent
7225d378
Branches
397-ktlint-compose
No related tags found
No related merge requests found
Pipeline
#12231
failed
2 years ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.idea/runConfigurations/ktLintCheck.xml
+1
-1
1 addition, 1 deletion
.idea/runConfigurations/ktLintCheck.xml
briar-desktop/build.gradle.kts
+7
-1
7 additions, 1 deletion
briar-desktop/build.gradle.kts
buildSrc/build.gradle.kts
+1
-1
1 addition, 1 deletion
buildSrc/build.gradle.kts
with
9 additions
and
3 deletions
.idea/runConfigurations/ktLintCheck.xml
+
1
−
1
View file @
7bb48955
...
...
@@ -4,7 +4,7 @@
<option
name=
"executionName"
/>
<option
name=
"externalProjectPath"
value=
"$PROJECT_DIR$"
/>
<option
name=
"externalSystemIdString"
value=
"GRADLE"
/>
<option
name=
"scriptParameters"
value=
""
/>
<option
name=
"scriptParameters"
value=
"
--stacktrace
"
/>
<option
name=
"taskDescriptions"
>
<list
/>
</option>
...
...
This diff is collapsed.
Click to expand it.
briar-desktop/build.gradle.kts
+
7
−
1
View file @
7bb48955
...
...
@@ -28,7 +28,7 @@ plugins {
id
(
"org.jetbrains.compose"
)
version
"1.1.1"
id
(
"java"
)
id
(
"idea"
)
id
(
"org.jlleitschuh.gradle.ktlint"
)
version
"1
0.1
.0"
id
(
"org.jlleitschuh.gradle.ktlint"
)
version
"1
1.0
.0"
id
(
"org.briarproject.briar.desktop.build-data-gradle-plugin"
)
}
...
...
@@ -41,7 +41,13 @@ buildData {
packageName
=
"org.briarproject.briar.desktop"
}
configure
<
org
.
jlleitschuh
.
gradle
.
ktlint
.
KtlintExtension
>
{
version
.
set
(
"0.45.2"
)
}
dependencies
{
ktlintRuleset
(
"com.twitter.compose.rules:ktlint:0.0.16"
)
implementation
(
compose
.
desktop
.
currentOs
)
implementation
(
compose
.
materialIconsExtended
)
// needed to access Dispatchers.Swing for EventExecutor
...
...
This diff is collapsed.
Click to expand it.
buildSrc/build.gradle.kts
+
1
−
1
View file @
7bb48955
...
...
@@ -20,7 +20,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins
{
kotlin
(
"jvm"
)
version
"1.6.10"
id
(
"org.jlleitschuh.gradle.ktlint"
)
version
"1
0.1
.0"
id
(
"org.jlleitschuh.gradle.ktlint"
)
version
"1
1.0
.0"
}
tasks
.
withType
<
KotlinCompile
>
{
...
...
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