mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 12:34:11 +01:00
31 lines
912 B
Groovy
31 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}"
|
|
}
|
|
}
|
|
}
|