Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions {{cookiecutter.directory_name}}/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ jobs:
sh gradlew
./gradlew -v
./gradlew setup
- run:
name: Run Inspection
command: |
./gradlew codenarcMain --info || true
- run:
name: Collect Inspection Report
command: |
cp build/reports/codenarc/main.html ci-artifacts/codenarc.html
- run:
name: build
command: |
Expand Down
59 changes: 0 additions & 59 deletions {{cookiecutter.directory_name}}/DEV.md

This file was deleted.

5 changes: 0 additions & 5 deletions {{cookiecutter.directory_name}}/README.md

This file was deleted.

17 changes: 16 additions & 1 deletion {{cookiecutter.directory_name}}/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ buildscript {
}
dependencies {

classpath "com.egis:gradle-build:4.0.65"
classpath "com.egis:gradle-build:4.0.73"
classpath 'org.ajoberstar:grgit:1.1.0'
classpath "jp.classmethod.aws:gradle-aws-plugin:0.+"
classpath "org.kordamp.gradle:codenarc-gradle-plugin:0.51.0"
}
}

Expand All @@ -23,6 +24,20 @@ apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: "com.egis.gradle"
apply plugin: 'codenarc'

codenarc {
reportFormat = 'html'
}

tasks.codenarcMain {
configFile = rootProject.file("codenarc/config/codenarc.groovy")
source = fileTree('src') {
include '**/*.groovy'
} + fileTree('resources') {
include '**/*.groovy'
}
}

dependencies {
repositories {
Expand Down
Loading