fabric/fabric-game-rule-api-v1/build.gradle
i509VCB d532d74b83
Create Game Rule API (#641)
* Create GameRule API

* Some tweaks

* gamerule -> game-rule

* Fix translation keys and update to 20w22a

* Command results and remove unnessecary factory method

* Update to 1.16-pre1

* Update fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/api/gamerule/v1/FabricRuleTypeConsumer.java

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* I like final things

* Update to 1.16-pre3, change enum button style

* checkstyle

* use right min values

* Document ValidatableRule

* Document LiteralRule, clarify generics

* Update to 20w27a

* Rename some parts to compensate for future yarn renames.

Flatten some logic related to EnumRules

* forgot one

* javadoc galore

* finish javadoc

* Start things

* Update to 20w29a, drop float rule

* Make cycle naming more accurate

* Convert colors to hex

Co-authored-by: Erlend Åmdal <erlend@aamdal.com>

* Update to 20w30a

* imports again

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
Co-authored-by: Erlend Åmdal <erlend@aamdal.com>
2020-07-24 16:25:09 +01:00

16 lines
602 B
Groovy

archivesBaseName = "fabric-game-rule-api-v1"
version = getSubprojectVersion(project, "1.0.0")
minecraft {
accessWidener = file("src/main/resources/fabric-game-rule-api-v1.accesswidener")
}
dependencies {
// MUST BE A DEPENDENCY, OTHERWISE COMPILE WILL FAIL IN "RuleListWidgetMixin"
// YOU'VE BEEN WARNED
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
testmodCompile project(path: ':fabric-api-base', configuration: 'dev')
testmodCompile project(path: ':fabric-lifecycle-events-v1', configuration: 'dev')
testmodCompile project(path: ':fabric-resource-loader-v0', configuration: 'dev')
}