Skip to content

Commit e0d8572

Browse files
committed
Migrate to GH Maven
1 parent d13280a commit e0d8572

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
SIGN_ALIAS: ${{ secrets.SIGN_ALIAS }}
4646
SIGN_KEYPASS: ${{ secrets.SIGN_KEYPASS }}
4747
SIGN_STOREPASS: ${{ secrets.SIGN_STOREPASS }}
48+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
49+
MAVEN_KEY: ${{ secrets.MAVEN_KEY }}
4850
- name: 'Test'
4951
env:
5052
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

build.gradle

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ repositories {
7777
mavenLocal()
7878
maven {
7979
name "Cyclops Repo"
80-
url "https://oss.jfrog.org/artifactory/simple/libs-release/"
80+
url "https://maven.pkg.github.com/CyclopsMC/packages"
81+
credentials {
82+
username = project.findProperty("gpr.user") ?: System.getenv("MAVEN_USERNAME")
83+
password = project.findProperty("gpr.key") ?: System.getenv("MAVEN_KEY")
84+
}
8185
}
8286
}
8387

@@ -86,9 +90,9 @@ dependencies {
8690

8791
// Add something like 'cyclopscore_version_local=0.1.0-DEV' to your gradle.properties if you want to use a custom local CyclopsCore version.
8892
if(project.hasProperty("cyclopscore_version_local")) {
89-
compile "org.cyclops.cyclopscore:CyclopsCore:${config.minecraft_version}-${project.cyclopscore_version_local}:deobf"
93+
compile "org.cyclops.cyclopscore:cyclopscore:${config.minecraft_version}-${project.cyclopscore_version_local}:deobf"
9094
} else {
91-
compile "org.cyclops.cyclopscore:CyclopsCore:${config.minecraft_version}-${config.cyclopscore_version}:deobf"
95+
compile "org.cyclops.cyclopscore:cyclopscore:${config.minecraft_version}-${config.cyclopscore_version}:deobf"
9296
}
9397

9498
// Project lombok
@@ -273,7 +277,7 @@ uploadArchives {
273277
pom {
274278
groupId = project.group
275279
version = project.version
276-
artifactId = project.archivesBaseName
280+
artifactId = project.archivesBaseName.toLowerCase()
277281
}
278282
pom.project {
279283
name project.archivesBaseName

build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ minecraft_version=1.16.5
33
forge_version=36.0.14
44
mcp_mappings_channel=snapshot
55
mcp_mappings_version=20201028-1.16.3
6-
cyclopscore_version=1.11.1-35
6+
cyclopscore_version=1.11.6-64
77
release_type=release
88
fingerprint=bd0353b3e8a2810d60dd584e256e364bc3bedd44
99

src/main/resources/META-INF/mods.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Craft stuff in your world, automatically.
1616
[[dependencies.structuredcrafting]]
1717
modId="cyclopscore"
1818
mandatory=true
19-
versionRange="[1.11.1,)"
19+
versionRange="[1.11.6,)"
2020
ordering="NONE"
2121
side="BOTH"
2222
[[dependencies.structuredcrafting]]

0 commit comments

Comments
 (0)