Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 2.87 KB

README.adoc

File metadata and controls

52 lines (42 loc) · 2.87 KB

java-gradle-template

zero88/java-gradle-template GitHub release (latest SemVer) Sonatype Nexus (Releases) Sonatype Nexus (Snapshots)

Lines of Code Coverage Maintainability Rating Reliability Rating Security Rating Quality Gate Status

Gradle template for opensource java projects

Please, correct some variables:

  • gradle.properties:

    • title=<title>

    • description=<description>

    • projectGroup

    • projectLicense

    • github.repo

    • systemProp.sonar.organization=<sonar-org-key>

    • systemProp.sonar.projectKey=<sonar-project-key>

  • settings.gradle.kts

    • projectName

    • Update subprojects structure

  • project(":docs")

    • Might update val mainProject = extensions["BASE_NAME"] as String

  • ci.yml

    • Replace env MAIN_PROFILE: 'template' to MAIN_PROFILE: '<your_project_main_profile>' (must not have blank)

  • Add GitHub repository secrets for action

    • CI_GPG_PASSPHARSE

    • CI_GPG_PRIVATE_KEY

    • OSS_GITHUB_TOKEN

    • OSS_SONARQUBE_TOKEN

    • OSS_SONATYPE_PASSWORD

    • OSS_SONATYPE_USER

  • Git branches: