Skip to content

Commit

Permalink
fix: 🐛 Fix core dep version
Browse files Browse the repository at this point in the history
  • Loading branch information
P3pp3rF1y committed Sep 7, 2023
1 parent 54ee281 commit 0ba7e36
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
distribution: zulu
cache: gradle
- name: Build with Gradle
env:
USERNAME: ${{ secrets.USERNAME }}
READ_PACKAGES_TOKEN: ${{ secrets.READ_PACKAGES_TOKEN }}
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
Expand Down
20 changes: 17 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ repositories {
}
}
maven { url "https://maven.blamejared.com/" }
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/p3pp3rf1y/sophisticatedcore")
credentials {
username = System.getenv("USERNAME")
password = System.getenv("READ_PACKAGES_TOKEN")
}
}
}

group = 'sophisticatedbackpacks'
Expand Down Expand Up @@ -109,9 +117,15 @@ dependencies {
if (findProject(':SophisticatedCore') != null) {
implementation project(':SophisticatedCore')
} else {
compileOnly fg.deobf("curse.maven:sophisticatedcore-618298:${sc_cf_file_id}")
runtimeOnly fg.deobf("curse.maven:sophisticatedcore-618298:${sc_cf_file_id}")
testImplementation fg.deobf("curse.maven:sophisticatedcore-618298:${sc_cf_file_id}")
compileOnly fg.deobf("sophisticatedcore:sophisticatedcore:${sc_version}") {
transitive = false
}
runtimeOnly fg.deobf("sophisticatedcore:sophisticatedcore:${sc_version}") {
transitive = false
}
testImplementation fg.deobf("sophisticatedcore:sophisticatedcore:${sc_version}") {
transitive = false
}
}

compileOnly fg.deobf("mezz.jei:jei-${jei_mc_version}:${jei_version}")
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ botania_version=1.19.2-439-FORGE-SNAPSHOT
patchouli_version=1.19.2-78-SNAPSHOT
balm_cf_file_id=3914527
crafting_tweaks_cf_file_id=3914007
sc_cf_file_id=4566112
sc_version=1.19.2-0.5.91.+
parchment_version=1.18.2-2022.06.05-1.19

0 comments on commit 0ba7e36

Please sign in to comment.