This repository has been archived on 2024-11-16. You can view files and clone it, but cannot push or open issues or pull requests.
BowDogPrediction/build.gradle

42 lines
1.0 KiB
Groovy
Raw Normal View History

2021-02-19 22:11:41 +00:00
plugins {
2021-10-31 16:09:39 +00:00
id 'fabric-loom' version '0.9-SNAPSHOT'
2021-06-14 23:43:49 +00:00
id 'maven-publish'
2021-02-19 22:11:41 +00:00
}
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_16
2021-02-19 22:11:41 +00:00
archivesBaseName = project.archives_base_name
version = project.mod_version
group = project.maven_group
repositories {
2021-06-14 23:43:49 +00:00
maven {
2021-10-31 16:09:39 +00:00
name = "meteor-maven-snapshots"
2021-10-01 17:54:23 +00:00
url = "https://maven.meteordev.org/snapshots"
2021-06-14 23:43:49 +00:00
}
2021-02-19 22:11:41 +00:00
}
dependencies {
2021-10-31 16:09:39 +00:00
// Fabric
2021-06-14 23:43:49 +00:00
minecraft "com.mojang:minecraft:${project.minecraft_version}"
2021-08-31 14:40:44 +00:00
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
2021-06-14 23:43:49 +00:00
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
2021-02-19 22:11:41 +00:00
2021-06-14 23:43:49 +00:00
// Meteor
2021-10-01 17:54:23 +00:00
modImplementation "meteordevelopment:meteor-client:${project.meteor_version}"
2021-02-19 22:11:41 +00:00
}
processResources {
2021-06-14 23:43:49 +00:00
inputs.property "version", project.version
2021-02-19 22:11:41 +00:00
2021-06-14 23:43:49 +00:00
filesMatching("fabric.mod.json") {
expand "version": project.version
2021-08-31 14:40:44 +00:00
filter { line -> line.replace("@mc_version@", project.minecraft_version) }
2021-06-14 23:43:49 +00:00
}
2021-02-19 22:11:41 +00:00
}
tasks.withType(JavaCompile).configureEach {
2021-06-14 23:43:49 +00:00
it.options.encoding = "UTF-8"
it.options.release = 16
}