-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
45 lines (40 loc) · 1.36 KB
/
settings.gradle
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import org.gradle.api.initialization.resolve.RepositoriesMode
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.4.0'
}
enableFeaturePreview('TYPESAFE_PROJECT_ACCESSORS')
rootProject.name = 'PistonGradle'
include 'plugin'
include 'settings-plugin'
dependencyResolutionManagement {
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
repositories {
String un = System.getenv("GHP_USERNAME") ?: System.getenv("GITHUB_ACTOR")
String pw = System.getenv("GHP_TOKEN") ?: System.getenv("GITHUB_TOKEN")
maven {
name = 'Minecraft Decompiler'
url = 'https://maven.pkg.github.com/MaxPixelStudios/MinecraftDecompiler'
credentials {
username = un
password = pw
}
content {
includeGroup('cn.maxpixel.minecraft-decompiler')
includeGroup('cn.maxpixel.mcd-extensions')
}
}
maven {
name = 'REWH'
url = 'https://maven.pkg.github.com/MaxPixelStudios/ReinventedWheels'
credentials {
username = un
password = pw
}
content {
includeGroupAndSubgroups('cn.maxpixel.rewh')
}
}
mavenCentral()
maven { url = 'https://maven.minecraftforge.net/' }
}
}