Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
Get ready for a release #GradleFun
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick1st committed May 21, 2022
1 parent 9b7d0b5 commit 5c9df95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ processResources {

jar {
archiveClassifier.set('slim')
archiveVersion.set(project.version_main + project.version)
// manifest {
// attributes([
// // Attributes here
Expand All @@ -109,6 +110,7 @@ jar {

shadowJar {
archiveClassifier.set('')
archiveVersion.set(project.version_main + project.version)
configurations = [project.configurations.library]
finalizedBy 'reobfShadowJar'
exclude 'META-INF/maven/**'
Expand All @@ -128,7 +130,7 @@ publishing {
mavenJava(MavenPublication) {
groupId project.group
artifactId project.archivesBaseName
version project.version
version project.version_main + project.version
artifact jar
}
}
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Project
version=0.2.0.0
version_main=1.
version=1.0.0
group=nick1st.fancyvideo

# Common
Expand Down

0 comments on commit 5c9df95

Please sign in to comment.