# gradle-tool **Repository Path**: ssff_admin/gradle-tool ## Basic Information - **Project Name**: gradle-tool - **Description**: Windows系统下,Gradle Wrapper 下载路径创建工具 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-09 - **Last Updated**: 2025-09-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Gradle Wrapper Directory Creation Tool ## Introduction This is a Java-based desktop application designed to help users create Gradle Wrapper cache directories based on the contents of the `gradle-wrapper.properties` file. The tool provides a simple graphical user interface (GUI) with drag-and-drop support for conveniently loading the configuration file and generating the corresponding directory paths. ## Features - **GUI Operations**: Provides an intuitive interface where users can input or drag-and-drop the contents of the `gradle-wrapper.properties` file. - **Drag-and-Drop Support**: Supports direct dragging of the `gradle-wrapper.properties` file into the interface for automatic loading. - **Path Generation**: Generates a unique cache directory name (based on MD5 hash) according to the `distributionUrl` in the configuration file. - **Directory Creation**: Automatically creates the Gradle cache directory and offers options to copy the path or open the folder. - **Cross-Platform Support**: Built with Java, it can run on any platform that supports Java. ## Usage Instructions 1. **Run the Program**: Ensure that the Java Runtime Environment is installed. Double-click the compiled `.jar` file or launch it via the command line. 2. **Input Configuration**: Paste the contents of the `gradle-wrapper.properties` file into the text box or drag-and-drop the file into the interface. 3. **Click the "Create Directory" Button**: The program will parse the configuration and generate the corresponding cache directory. 4. **Result Operations**: You can choose to copy the generated path to the clipboard or directly open the created folder. ## Technical Details - **Development Language**: Java - **GUI Framework**: Swing - **Main Dependencies**: No external dependencies; only standard Java libraries are used. ## Use Cases This tool is suitable for scenarios where manual creation of Gradle Wrapper cache directories is required, especially in offline environments, allowing for quick generation of the necessary directory structure. ## License This project follows the MIT License (please refer to the license file in the actual code repository for accurate details). --- For further details on the code implementation, please refer to the `GuiMain.java` file.