Skip to content

Commit

Permalink
remove git properties plugin because it only led to problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Krusche committed Apr 4, 2020
1 parent aa0d7c0 commit 44b2241
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 29 deletions.
8 changes: 1 addition & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ plugins {
id "jacoco"
id "org.springframework.boot"
id "com.google.cloud.tools.jib" version "2.1.0"
id "com.gorylenko.gradle-git-properties"
id "com.github.node-gradle.node"
id "net.ltgt.apt-eclipse"
id "net.ltgt.apt-idea"
Expand Down Expand Up @@ -324,15 +323,10 @@ if (project.hasProperty("nodeInstall")) {
}
}

gitProperties {
failOnNoGitDirectory = false
keys = ["git.branch", "git.commit.id.abbrev", "git.commit.id.describe"]
}

// Command to execute the JavaDoc checkstyle verification ./gradlew checkstyleMain
checkstyle {
toolVersion "8.10"
configFile file("checkstyle.xml")
configFile file("${rootDir}/checkstyle.xml")
checkstyleTest.enabled = false
maxErrors = 0
}
Expand Down
9 changes: 1 addition & 8 deletions checkstyle.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">

<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name="Checker">
<property name="charset" value="UTF-8" />

<property name="severity" value="warning" />

<property name="fileExtensions" value="java, properties, xml" />

<module name="TreeWalker">

<module name="JavadocMethod">
<property name="scope" value="public" />
<property name="allowMissingParamTags" value="false" />
Expand Down
5 changes: 2 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ rootProject.name=Artemis
profile=dev

# Build properties
node_version=12.16.1
npm_version=6.14.2
node_version=13.8.0
npm_version=6.14.4
yarn_version=1.22.0

# Dependency versions
Expand All @@ -24,7 +24,6 @@ jaxb_runtime_version=2.3.2

# gradle plugin version
jib_plugin_version=2.0.0
git_properties_plugin_version=2.2.2
gradle_node_plugin_version=2.2.3
apt_plugin_version=0.21
liquibase_plugin_version=2.0.2
Expand Down
10 changes: 0 additions & 10 deletions gradle/profile_prod.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,6 @@ processResources {
}
}

generateGitProperties {
onlyIf {
!source.isEmpty()
}
}

gitProperties {
keys = ['git.branch', 'git.commit.id.abbrev', 'git.commit.id.describe']
}

test.dependsOn webpack_test
processResources.dependsOn webpack
bootJar.dependsOn processResources
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ pluginManagement {
plugins {
id 'org.springframework.boot' version "${spring_boot_version}"
id 'com.google.cloud.tools.jib' version "${jib_plugin_version}"
id 'com.gorylenko.gradle-git-properties' version "${git_properties_plugin_version}"
id 'com.github.node-gradle.node' version "${gradle_node_plugin_version}"
id 'org.liquibase.gradle' version "${liquibase_plugin_version}"
id 'net.ltgt.apt-eclipse' version "${apt_plugin_version}"
Expand Down

0 comments on commit 44b2241

Please sign in to comment.