summaryrefslogtreecommitdiff
path: root/plugin/src/main/kotlin/moe/nea/archenemy/mojang/MappingDependency.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/src/main/kotlin/moe/nea/archenemy/mojang/MappingDependency.kt')
-rw-r--r--plugin/src/main/kotlin/moe/nea/archenemy/mojang/MappingDependency.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/src/main/kotlin/moe/nea/archenemy/mojang/MappingDependency.kt b/plugin/src/main/kotlin/moe/nea/archenemy/mojang/MappingDependency.kt
index a0e1b14..76f109c 100644
--- a/plugin/src/main/kotlin/moe/nea/archenemy/mojang/MappingDependency.kt
+++ b/plugin/src/main/kotlin/moe/nea/archenemy/mojang/MappingDependency.kt
@@ -1,5 +1,6 @@
package moe.nea.archenemy.mojang
+import org.gradle.api.Project
import org.gradle.api.artifacts.Dependency
import org.gradle.api.provider.Provider
import java.io.File
@@ -8,9 +9,8 @@ import java.security.MessageDigest
interface MappingDependency : Provider<Dependency> {
fun updateHash(digest: MessageDigest)
fun title(): String
- fun findMapping(files: Set<File>): File?
+ fun resolveMappingsOnce(extension: ArchenemyMojangExtension)
fun applyMapping(
- mappingsFile: File,
sourceFile: File,
targetFile: File,
sourceNameSpace: String,