Skip to content

Commit

Permalink
Convert AppendableMavenFileRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Dec 17, 2024
1 parent 86db071 commit 6228598
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.github.jengelman.gradle.plugins.shadow.util

import com.github.jengelman.gradle.plugins.shadow.util.repo.maven.MavenFileRepository
import java.io.File

class AppendableMavenFileRepository(rootDir: File) : MavenFileRepository(rootDir) {

override fun module(groupId: String, artifactId: String, version: String): AppendableMavenFileModule {
val artifactDir = rootDir.resolve("${groupId.replace('.', '/')}/$artifactId/$version")
return AppendableMavenFileModule(artifactDir, groupId, artifactId, version)
}
}

0 comments on commit 6228598

Please sign in to comment.