Skip to content

Add REWE artifactory configuration for Gradle projects#1

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/fix-7ccae2a5-c0dd-4914-9a1b-cfcd6a99a01d
Closed

Add REWE artifactory configuration for Gradle projects#1
Copilot wants to merge 1 commit intomainfrom
copilot/fix-7ccae2a5-c0dd-4914-9a1b-cfcd6a99a01d

Conversation

Copy link

Copilot AI commented Aug 27, 2025

This PR adds comprehensive support for using REWE Digital's JFrog Artifactory in Gradle projects as part of the Linux development environment setup.

What's Added

Core Files

  • build.gradle - Template Gradle build file pre-configured with REWE artifactory repositories
  • gradle.properties.template - Template for secure credential configuration
  • setup_gradle_rewe.sh - Setup script for easy project configuration
  • README_GRADLE_REWE.md - Comprehensive documentation

Repository Configuration

The build.gradle template configures repositories in the following priority order:

  1. REWE Artifactory Public (https://artifactory.rewe-digital.com/artifactory/maven-public)
  2. REWE Artifactory Private (https://artifactory.rewe-digital.com/artifactory/maven-private)
  3. Maven Central (fallback for public dependencies)

Security Features

  • Credential configuration via environment variables (REWE_ARTIFACTORY_USERNAME, REWE_ARTIFACTORY_PASSWORD)
  • Alternative gradle.properties file support
  • Updated .gitignore to prevent accidental credential commits
  • Secure fallback to Maven Central when REWE artifactory is unavailable

Integration

  • Added to main setup_linux_box.sh script as "Setup Gradle with REWE artifactory configuration"
  • Positioned after Java TrustStore setup for logical flow
  • Includes verification task (gradle showRepos) to validate configuration

Publishing Support

Configured artifact publishing to REWE artifactory releases repository for internal library distribution.

Usage

Developers can now easily bootstrap new Java projects with REWE artifactory support by copying the template files and configuring their credentials. The setup integrates seamlessly with the existing REWE infrastructure (Java TrustStore, VPN configuration).

This complements the existing setup_java_truststore.sh script that configures Java to trust REWE Digital's certificates, providing a complete Java development environment setup for REWE projects.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@tztz tztz closed this Aug 27, 2025
Copilot AI changed the title [WIP] Use REWE artifactory in the build.gradle file Add REWE artifactory configuration for Gradle projects Aug 27, 2025
Copilot AI requested a review from tztz August 27, 2025 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants