Skip to content

Commit fe8a84a

Browse files
author
Francisco Solis
authored
Merge pull request #25 from TheProgramSrc/feat/update-depends
2 parents 470c9d2 + 595e8ea commit fe8a84a

File tree

5 files changed

+21
-9
lines changed

5 files changed

+21
-9
lines changed

.github/workflows/gradle-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
uses: actions/checkout@v3
2020
# Set up git hashes environment variables
2121
- name: Git Hashes
22-
uses: Im-Fran/[email protected].1
22+
uses: Im-Fran/[email protected].2
2323
# Set up version from tag environment variables
2424
- name: Version from Tag Action
25-
uses: Im-Fran/[email protected].1
25+
uses: Im-Fran/[email protected].2
2626
with:
2727
remove-first-character: 'v'
2828
# Set up the JDK
@@ -31,6 +31,7 @@ jobs:
3131
with:
3232
distribution: adopt
3333
java-version: 11
34+
cache: 'gradle'
3435
# Make gradle executable
3536
- name: Make gradle executable
3637
run: chmod +x gradlew

.github/workflows/gradle-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
with:
2424
distribution: adopt
2525
java-version: ${{ matrix.java-version }}
26+
cache: 'gradle'
2627
# Setup executable gradle
2728
- name: Make Gradle executable
2829
run: chmod +x gradlew

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v0.1.3 - Snapshot
2+
* Updated Dependencies
3+
* Migrated to JitPack
4+
15
## v0.1.2 - Snapshot
26
* Updated Dependencies
37

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[![](https://jitci.com/gh/TheProgramSrc/SimpleCore-FilesModule/svg)](https://jitci.com/gh/TheProgramSrc/SimpleCore-FilesModule)
2+
[![](https://jitpack.io/v/TheProgramSrc/SimpleCore-FilesModule.svg)](https://jitpack.io/#TheProgramSrc/SimpleCore-FilesModule)
3+
4+
15
# SimpleCore-FilesModule
26
File configurations and utils for the SimpleCore API
37

build.gradle

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ plugins {
22
id 'org.jetbrains.kotlin.jvm' version '1.7.20'
33
id 'maven-publish'
44
id 'com.github.johnrengelman.shadow' version '7.1.2'
5-
id 'net.kyori.blossom' version '1.2.0'
5+
id 'cl.franciscosolis.blossom-extended' version '1.3.1'
66
id 'org.jetbrains.dokka' version '1.7.20'
77
}
88

9-
def projectVersion = (System.getenv("VERSION") ?: '0.1.2-SNAPSHOT').replaceFirst("v", "").replace('/', '')
9+
def projectVersion = (System.getenv("VERSION") ?: '0.1.3-SNAPSHOT').replaceFirst("v", "").replace('/', '')
1010

1111
group 'xyz.theprogramsrc'
1212
version projectVersion
@@ -27,7 +27,7 @@ repositories {
2727

2828
dependencies {
2929
compileOnly 'org.jetbrains.kotlin:kotlin-stdlib:1.7.20'
30-
compileOnly 'xyz.theprogramsrc:simplecoreapi:0.4.0-SNAPSHOT'
30+
compileOnly 'xyz.theprogramsrc:simplecoreapi:0.4.5-SNAPSHOT'
3131

3232
implementation 'me.carleslc.Simple-YAML:Simple-Yaml:1.8.2'
3333

@@ -90,10 +90,12 @@ publishing {
9090
repositories {
9191
if(System.getenv('env') == 'prod'){
9292
maven {
93-
name = 'TheProgramSrcRepository'
94-
credentials.username = System.getenv('NEXUS_USERNAME')
95-
credentials.password = System.getenv('NEXUS_PASSWORD')
96-
url = uri("https://repo.theprogramsrc.xyz/repository/simplecoreapi-modules/")
93+
name = 'GitHubPackages'
94+
url = 'https://maven.pkg.github.com/TheProgramSrc/SimpleCore-Filesmodule'
95+
credentials {
96+
username = System.getenv('GITHUB_ACTOR')
97+
password = System.getenv('GITHUB_TOKEN')
98+
}
9799
}
98100
}else{
99101
mavenLocal()

0 commit comments

Comments
 (0)