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

44 lines
1.1 KiB
Groovy
Raw Normal View History

2021-02-19 22:11:41 +00:00
plugins {
2021-06-14 23:43:49 +00:00
id 'fabric-loom' version '0.8-SNAPSHOT'
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 {
name = "jitpack"
url = "https://jitpack.io"
}
2021-02-19 22:11:41 +00:00
}
dependencies {
2021-06-14 23:43:49 +00:00
// Minecraft
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-08-31 14:40:44 +00:00
modImplementation "com.github.MeteorDevelopment:meteor-client:v${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) }
filter { line -> line.replace("@meteor_version@", project.meteor_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
}