Improve description of repositories blocks #81

Merged
YTG1234 merged 6 commits from patch-1 into master 2021-02-07 17:38:58 +00:00
YTG1234 commented 2021-02-07 10:44:31 +00:00 (Migrated from github.com)

The repositories block inside the maven publish configuration does nothing but confuse new modders who want to use libraries.

If someone wants to publish their project to a maven repository, they probably know what they're doing and can figure out adding three lines of code.

This PR aims to fix that by adding another dependencies stub and improving the comments.

The `repositories` block inside the maven publish configuration does *nothing* but confuse new modders who want to use libraries. ~~If someone wants to publish their project to a maven repository, they probably know what they're doing and can figure out adding three lines of code.~~ This PR aims to fix that by adding another dependencies stub and improving the comments.
Juuxel (Migrated from github.com) approved these changes 2021-02-07 10:46:06 +00:00
YanisBft (Migrated from github.com) approved these changes 2021-02-07 10:50:23 +00:00
ramidzkh (Migrated from github.com) approved these changes 2021-02-07 10:53:07 +00:00
liach commented 2021-02-07 13:26:30 +00:00 (Migrated from github.com)

I personally suggest adding a repositories stub above the dependencies block and describe what that repositories block does

I personally suggest adding a repositories stub above the dependencies block and describe what that repositories block does
liach (Migrated from github.com) approved these changes 2021-02-07 13:37:43 +00:00
Juuxel (Migrated from github.com) requested changes 2021-02-07 13:45:56 +00:00
Juuxel (Migrated from github.com) commented 2021-02-07 13:44:49 +00:00
    // Add repositories to retrieve artifacts from in here.
```suggestion // Add repositories to retrieve artifacts from in here. ```
Juuxel (Migrated from github.com) commented 2021-02-07 13:45:47 +00:00
    // Loom adds Maven Central and the Fabric maven automatically so you don't

(also technically the mojang maven but users don't have to care about that)

```suggestion // Loom adds Maven Central and the Fabric maven automatically so you don't ``` (also technically the mojang maven but users don't have to care about that)
Juuxel (Migrated from github.com) commented 2021-02-07 13:44:58 +00:00
        // retrieving dependencies.
```suggestion // retrieving dependencies. ```
YTG1234 (Migrated from github.com) reviewed 2021-02-07 13:50:10 +00:00
YTG1234 (Migrated from github.com) commented 2021-02-07 13:50:10 +00:00

Ah yes I can very much spell, thank you.

Ah yes I can very much spell, thank you.
liach (Migrated from github.com) reviewed 2021-02-07 13:50:46 +00:00
liach (Migrated from github.com) commented 2021-02-07 13:50:46 +00:00

if you really pick on that you should mention the Minecraft repo as well

if you really pick on that you should mention the Minecraft repo as well
YTG1234 (Migrated from github.com) reviewed 2021-02-07 13:50:58 +00:00
YTG1234 (Migrated from github.com) commented 2021-02-07 13:50:58 +00:00

How about "essential maven repositories" /s

How about "essential maven repositories" /s
YTG1234 (Migrated from github.com) reviewed 2021-02-07 13:53:31 +00:00
YTG1234 (Migrated from github.com) commented 2021-02-07 13:53:31 +00:00
    // Loom adds some essential maven repositories so you don't
```suggestion // Loom adds some essential maven repositories so you don't ```
liach (Migrated from github.com) reviewed 2021-02-07 13:57:24 +00:00
liach (Migrated from github.com) commented 2021-02-07 13:57:24 +00:00

I'd rather say you only use this when you need to depend on other mods

I'd rather say you only use this when you need to depend on other mods
YTG1234 (Migrated from github.com) reviewed 2021-02-07 14:02:31 +00:00
YTG1234 (Migrated from github.com) commented 2021-02-07 14:02:30 +00:00
    // Add repositories to retrieve artifacts from in here.
    // You should only use this when depending on other mods because
    // Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
    // See https://docs.gradle.org/current/userguide/declaring_repositories.html
    // for more information about repositories.
```suggestion // Add repositories to retrieve artifacts from in here. // You should only use this when depending on other mods because // Loom adds the essential maven repositories to download Minecraft and libraries from automatically. // See https://docs.gradle.org/current/userguide/declaring_repositories.html // for more information about repositories. ```
Juuxel (Migrated from github.com) approved these changes 2021-02-07 15:40:00 +00:00
modmuss50 (Migrated from github.com) requested changes 2021-02-07 16:33:54 +00:00
modmuss50 (Migrated from github.com) commented 2021-02-07 16:33:51 +00:00

I wouldnt specifcy an exact line number as its going to move and this wont get updated.

I wouldnt specifcy an exact line number as its going to move and this wont get updated.
YTG1234 (Migrated from github.com) reviewed 2021-02-07 16:34:52 +00:00
YTG1234 (Migrated from github.com) commented 2021-02-07 16:34:52 +00:00
        // Notice: This block does NOT have the same function as the block in the top level.
```suggestion // Notice: This block does NOT have the same function as the block in the top level. ```
modmuss50 (Migrated from github.com) approved these changes 2021-02-07 17:38:50 +00:00
modmuss50 (Migrated from github.com) left a comment

Looks good now, many thanks.

Looks good now, many thanks.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Steven/fabric-example-mod#81
No description provided.