From dee681a3ff2eb5de54c9cdf4a5dd44f5561dbe0e Mon Sep 17 00:00:00 2001 From: vitaxa Date: Thu, 21 Jan 2021 16:07:57 +0300 Subject: [PATCH] Initial commit (#1) --- .gitignore | 56 ++++ .gitmodules | 4 + Jenkinsfile | 14 + build_utils | 1 + pom.xml | 69 ++++ .../resources/rbkmoney_google_checkstyle.xml | 317 ++++++++++++++++++ 6 files changed, 461 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 Jenkinsfile create mode 160000 build_utils create mode 100644 pom.xml create mode 100644 src/main/resources/rbkmoney_google_checkstyle.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..33589c6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,56 @@ +# Created by .ignore support plugin (hsz.mobi) +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm + +*.DS_Store + +*.iml + +## Directory-based project format: +.idea/ +# if you remove the above rule, at least ignore the following: + +# User-specific stuff: +# .idea/workspace.xml +# .idea/tasks.xml +# .idea/dictionaries + +# Sensitive or high-churn files: +# .idea/dataSources.ids +# .idea/dataSources.xml +# .idea/sqlDataSources.xml +# .idea/dynamic.xml +# .idea/uiDesigner.xml + +# Gradle: +# .idea/gradle.xml +# .idea/libraries + +# Mongo Explorer plugin: +# .idea/mongoSettings.xml + +## File-based project format: +*.ipr +*.iws + +## Plugin-specific files: + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties + +# Target folder +target + +# Target ant folder +build diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ca5a761 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "build_utils"] + path = build_utils + url = git@github.com:rbkmoney/build_utils.git + branch = master diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..b06d51a --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,14 @@ +#!groovy +build('java-checkstyle-config', 'docker-host') { + checkoutRepo() + loadBuildUtils() + + def javaLibPipeline + runStage('load JavaLib pipeline') { + javaLibPipeline = load("build_utils/jenkins_lib/pipeJavaLib.groovy") + } + + + def buildImageTag = "442c2c274c1d8e484e5213089906a4271641d95e" + javaLibPipeline(buildImageTag) +} diff --git a/build_utils b/build_utils new file mode 160000 index 0000000..e131872 --- /dev/null +++ b/build_utils @@ -0,0 +1 @@ +Subproject commit e1318727d4d0c3e48f5122bf3197158b6695f50e diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..8d7e87f --- /dev/null +++ b/pom.xml @@ -0,0 +1,69 @@ + + + 4.0.0 + + com.rbkmoney + java-checkstyle-config + 1.0.0 + + + 11 + 11 + + + + scm:git:git://github.com/rbkmoney/java-checkstyle-config.git + scm:git:ssh://github.com/rbkmoney/java-checkstyle-config.git + https://github.com/rbkmoney/java-checkstyle-config/tree/master + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/content/repositories/releases + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.0 + + + empty-javadoc-jar + package + + jar + + + javadoc + ${basedir}/javadoc + + + + + + + + diff --git a/src/main/resources/rbkmoney_google_checkstyle.xml b/src/main/resources/rbkmoney_google_checkstyle.xml new file mode 100644 index 0000000..41006db --- /dev/null +++ b/src/main/resources/rbkmoney_google_checkstyle.xml @@ -0,0 +1,317 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +