Skip to content

Commit 9149f51

Browse files
committed
Move hello to separate project
1 parent f2b92bd commit 9149f51

File tree

10 files changed

+23
-20
lines changed

10 files changed

+23
-20
lines changed

.idea/gradle.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/MainApp.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ plugins {
44
id 'java-library'
55
id 'idea'
66
id 'jacoco'
7-
id 'application'
87
alias(libs.plugins.javamodularity.moduleplugin) apply false
9-
alias(libs.plugins.sonarqube)
108
alias(libs.plugins.spotbugs)
119
alias(libs.plugins.ben.manes.versions)
1210
alias(libs.plugins.nebula.lint)
@@ -23,16 +21,6 @@ tasks.spotbugsMain {
2321
}
2422
}
2523

26-
sonar {
27-
properties {
28-
property 'sonar.projectKey', 'ak-git_SimpleApp'
29-
property 'sonar.organization', 'ak-git'
30-
property 'sonar.host.url', 'https://sonarcloud.io'
31-
property 'sonar.branch.name', 'master'
32-
property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/jacoco/test/jacocoTestReport.xml'
33-
}
34-
}
35-
3624
ext {
3725
javaVersion = JavaVersion.VERSION_21
3826
}
@@ -81,9 +69,4 @@ allprojects {
8169
}
8270
maxHeapSize = '1G'
8371
}
84-
}
85-
86-
application {
87-
mainModule = 'com.ak.app'
88-
mainClass = 'com.ak.app.MainApp'
8972
}

hello/build.gradle

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
plugins {
2+
id 'application'
3+
alias(libs.plugins.sonarqube)
4+
}
5+
6+
sonar {
7+
properties {
8+
property 'sonar.projectKey', 'ak-git_SimpleApp'
9+
property 'sonar.organization', 'ak-git'
10+
property 'sonar.host.url', 'https://sonarcloud.io'
11+
property 'sonar.branch.name', 'master'
12+
property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/jacoco/test/jacocoTestReport.xml'
13+
}
14+
}
15+
16+
application {
17+
mainModule = 'com.ak.app'
18+
mainClass = 'com.ak.app.MainApp'
19+
}
File renamed without changes.

settings.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ dependencyResolutionManagement {
2121
}
2222
}
2323

24-
rootProject.name = 'SimpleApp'
24+
rootProject.name = 'SimpleApp'
25+
include 'hello'

0 commit comments

Comments
 (0)