File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,23 @@ Use `./gradlew spotlessApply` to run the automatic code formatter.
30
30
You can also run it in continuous mode as ` ./gradlew --continuous spotlessApply `
31
31
to reformat whenever a file changes.
32
32
33
+ We mean to follow the [ Google Java Style Guide] ( https://google.github.io/styleguide/javaguide.html ) ,
34
+ but do not enforce it comprehensively (apart from what the automatic formatter does).
35
+ Take particular note of the rules:
36
+
37
+ - [ 3.3.1 No wildcard imports] ( https://google.github.io/styleguide/javaguide.html#s3.3.1-wildcard-imports )
38
+ - [ 5.3 Camel case: defined] ( https://google.github.io/styleguide/javaguide.html#s5.3-camel-case )
39
+ (` XmlHttpRequest ` and ` requestId ` , not ` XMLHTTPRequest ` and ` requestID ` )
40
+
41
+ In case of disagreement on code style, defer to the style guide.
42
+
33
43
34
44
Setup for publishing
35
45
---
36
46
37
- To enable publishing to Maven Central via Sonatype Nexus, set
38
- ` yubicoPublish=true ` in ` $HOME/.gradle/gradle.properties ` and add your Sonatype
47
+ To enable publishing to Maven Central via Sonatype Nexus,
48
+ [ generate a user token] ( https://central.sonatype.org/publish/generate-token/ ) .
49
+ Set ` yubicoPublish=true ` in ` $HOME/.gradle/gradle.properties ` and add your token
39
50
username and password. Example:
40
51
41
52
``` properties
You can’t perform that action at this time.
0 commit comments