mirror of
https://github.com/GTNewHorizons/BetterP2P.git
synced 2026-10-26 14:24:05 +00:00
* update buildscript
* address gradle warning about insecure connection
* simplify bit shift
* nested enums are implicitly static
See https://stackoverflow.com/questions/663834/in-java-are-enum-types-inside-a-class-static
* enum constructors are private by design
See https://stackoverflow.com/questions/36286178/java-enum-constructors-private
* semicolon not needed
* replace anonymous class with standard init
The anonymous init takes more space and is harder to understand.
* improve javadoc
* remove duplicate case in switch
* improve javadoc
* simplify float
* simplify init
* remove redundant casts
* minor nitpick on a comment
* rename BACKGROUND to lowercase
* put on separate lines
* remove reduntant semicolons
* simplify isEmpty
* remove commented code, improve javadocs
* spotless
* gradle update buildscript
* explain why >> 0 stays
* Revert "remove redundant casts"
This reverts commit e7bf60e1d2.
* suppress the inspection for redundant casts
They are kept to clarify what the functions accepts.
* spotless vs intellij
Our battle will be legendary!
24 lines
506 B
Groovy
24 lines
506 B
Groovy
// Add any additional repositories for your dependencies here
|
|
|
|
repositories {
|
|
maven {
|
|
name 'GTNH Maven'
|
|
url 'http://jenkins.usrv.eu:8081/nexus/content/groups/public/'
|
|
allowInsecureProtocol = true
|
|
}
|
|
maven {
|
|
url 'https://cursemaven.com'
|
|
content {
|
|
includeGroup 'curse.maven'
|
|
}
|
|
}
|
|
maven {
|
|
name 'jitpack'
|
|
url 'https://jitpack.io'
|
|
}
|
|
maven {
|
|
name 'MM repo'
|
|
url 'https://maven.k-4u.nl/'
|
|
}
|
|
}
|