Skip to content

Commit

Permalink
change app
Browse files Browse the repository at this point in the history
  • Loading branch information
gpiento committed Apr 6, 2024
1 parent 367f35d commit 15dec32
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 32 deletions.
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@
.PHONY: build app

setup:
./gradlew wrapper --gradle-version 8.6
make -C app setup

clean:
./gradlew clean
make -C app clean

build:
./gradlew clean build
make -C app build

install:
./gradlew clean install
make -C app install

run-dist: install
@./app/build/install/app/bin/app
make -C app run-dist

run: install
@./app/build/install/app/bin/app
make -C app run

test:
./gradlew test
make -C app test

report:
./gradlew jacocoTestReport
make -C app report

lint:
./gradlew checkstyleMain
make -C app lint

check-deps:
./gradlew dependencyUpdates -Drevision=release
make -C app check-deps

build-run: build install run-dist
File renamed without changes.
File renamed without changes.
34 changes: 34 additions & 0 deletions app/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
.DEFAULT_GOAL := build-run
.PHONY: build app

setup:
./gradlew wrapper --gradle-version 8.6

clean:
./gradlew clean

build:
./gradlew clean build

install:
./gradlew clean install

run-dist: install
@./build/install/app/bin/app

run: install
@./build/install/app/bin/app

test:
./gradlew test

report:
./gradlew jacocoTestReport

lint:
./gradlew checkstyleMain

check-deps:
./gradlew dependencyUpdates -Drevision=release

build-run: build install run-dist
8 changes: 0 additions & 8 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ jacocoTestReport {
}
}

tasks.register("runGradlew") {
doLast {
exec {
commandLine("bash", "${rootProject.projectDir}/gradlew")
}
}
}

checkstyle {
configFile = file("config/checkstyle/checkstyle.xml")
toolVersion '8.41'
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 1 addition & 7 deletions settings.gradle → app/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,4 @@
* For more detailed information on multi-project builds, please refer to https://docs.gradle.org/8.6/userguide/multi_project_builds.html in the Gradle documentation.
*/

plugins {
// Apply the foojay-resolver plugin to allow automatic download of JDKs
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
}

rootProject.name = 'java-project-78'
include('app')
rootProject.name = 'app'
Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions gradle/wrapper/gradle-wrapper.properties

This file was deleted.

0 comments on commit 15dec32

Please sign in to comment.