-
-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
To include this library in your Java project, add the following dependency:
Replace the variable ${latestVersion} with the current latest
version:
You can first define the version in the ext section and add than the following gradle dependency to
your project build.gradle
if you want to import the core functionality of file-worker:
define version in file gradle.properties
fileWorkerVersion=${latestVersion}
or in build.gradle ext area
fileWorkerVersion = "${latestVersion}"
and then add the dependency to the dependencies area
implementation("io.github.astrapi69:file-worker:$fileWorkerVersion")
If you use the new libs.versions.toml file for new automatic catalog versions update
[versions]
file-worker-version=${latestVersion}
[libraries]
file-worker = { module = "io.github.astrapi69:file-worker", version.ref = "file-worker-version" }
then add the dependency to the dependencies area
implementation libs.file.worker
This section describes how to import snapshot versions into your project. Add the following code snippet to your gradle file in the repositories section:
repositories {
//...
maven {
name "Sonatype Nexus Snapshots"
url "https://oss.sonatype.org/content/repositories/snapshots"
mavenContent {
snapshotsOnly()
}
}
}
Maven dependency is now on sonatype. Check out sonatype repository for latest snapshots and releases.
Add the following maven dependency to your project pom.xml
if you want to import the core
functionality of file-worker:
<properties>
...
<!-- FILE-WORKER version -->
<file-worker.version>${latestVersion}</file-worker.version>
...
</properties>
...
<dependencies>
...
<!-- FILE-WORKER DEPENDENCY -->
<dependency>
<groupId>io.github.astrapi69</groupId>
<artifactId>file-worker</artifactId>
<version>${file-worker.version}</version>
</dependency>
...
</dependencies>
- Create New Files And Directories
- Delete Files Or Directories
- File Comparison Documentation
- File Modification And Merging
- File Reading Documentation
- File Renaming Documentation
- File Search Documentation
- File Sorting Documentation
- File Writing Documentation
- Java File Copy Utilities
- System Utilities Documentation