Flywheel/fabric/build.gradle
2024-05-17 08:43:56 -07:00

30 lines
912 B
Groovy

plugins {
id 'idea'
id 'java'
id 'maven-publish'
id 'dev.architectury.loom'
}
apply from: rootProject.file('buildSrc/simple-java.gradle')
apply from: rootProject.file('buildSrc/subprojects.gradle')
apply from: rootProject.file('buildSrc/platforms.gradle')
apply from: rootProject.file('buildSrc/package-infos.gradle')
dependencies {
compileOnly project(path: ':common', configuration: 'namedElements')
modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"
modApi "net.fabricmc.fabric-api:fabric-api:${fabric_api_version}"
modCompileOnly "maven.modrinth:sodium:${sodium_version}"
modCompileOnly "maven.modrinth:iris:${iris_version}"
}
publishing {
publications {
register('mavenJava', MavenPublication) {
from(components['java'])
artifactId = "flywheel-${project.name}-${artifact_minecraft_version}"
}
}
}