2024-04-22 20:51:28 +02:00
|
|
|
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')
|
|
|
|
|
2024-04-17 21:05:04 +02:00
|
|
|
dependencies {
|
|
|
|
compileOnly project(path: ':common', configuration: 'namedElements')
|
2024-04-17 21:32:36 +02:00
|
|
|
|
2024-04-22 02:15:21 +02:00
|
|
|
modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"
|
|
|
|
modApi "net.fabricmc.fabric-api:fabric-api:${fabric_api_version}"
|
2024-04-17 21:32:36 +02:00
|
|
|
|
2024-04-22 02:15:21 +02:00
|
|
|
modCompileOnly "maven.modrinth:sodium:${sodium_version}"
|
|
|
|
modCompileOnly "maven.modrinth:iris:${iris_version}"
|
2024-04-17 21:05:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
register('mavenJava', MavenPublication) {
|
2024-04-22 02:15:21 +02:00
|
|
|
from(components['java'])
|
2024-04-23 09:14:19 +02:00
|
|
|
artifactId = "flywheel-${project.name}-${artifact_minecraft_version}"
|
2024-04-17 21:05:04 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|