aboutsummaryrefslogtreecommitdiff
path: root/defaults/build.gradle
blob: fe1691f71f46181898b647a994d15bfc2431b728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
apply plugin: 'com.modrinth.minotaur'

archivesBaseName = "citresewn-defaults"

dependencies {
	implementation project(path: ":", configuration: "namedElements")
}

java {
	withSourcesJar()
}

loom {
	accessWidenerPath = file("src/main/resources/citresewn-defaults.accesswidener")

	runConfigs.configureEach {
		ideConfigGenerated = true
	}
}

modrinth {
	token = TOKEN_MODRINTH
	projectId = "meHXjJBu"
	uploadFile = remapJar
	versionNumber = version
	versionName = "v" + version
	additionalFiles = [ sourcesJar.outputs.getFiles().singleFile ]
	gameVersions = Arrays.asList(rootProject.publish_minecraft_versions.split(","))
}
tasks.getByName("modrinth").mustRunAfter(rootProject.tasks.getByName("modrinth"))