Skip to content

Commit

Permalink
Rename Packages | Add Version Checker
Browse files Browse the repository at this point in the history
  • Loading branch information
ROMVoid95 committed Sep 18, 2020
1 parent 8d0dadf commit 4a4036e
Show file tree
Hide file tree
Showing 53 changed files with 1,297 additions and 345 deletions.
25 changes: 19 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,6 @@ repositories {
}

dependencies {

compile "com.vdurmont:semver4j:3.1.0"

compile("com.github.TheRandomLabs:CurseAPI:master-SNAPSHOT"){
exclude group: 'com.google.guava', module: 'guava'
}

compile "org.projectlombok:lombok:1.18.12"
apt "org.projectlombok:lombok:1.18.12"
Expand Down Expand Up @@ -128,6 +122,25 @@ minecraft {
replaceIn "Ref.java"
}

processResources {
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version':project.version, 'mcversion':project.minecraft.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
rename '(.+_at.cfg)', 'META-INF/$1'
}

jar {
manifest {
attributes 'FMLAT': 'galactictweaks_at.cfg'
}
}

jar {
manifest {
mainAttributes(
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mcp=snapshot_20171003

## Mod Versioning
versionMajor=1
versionMinor=2
versionMinor=3
versionRev=0

## Cureforge Upload Configs
Expand Down
77 changes: 0 additions & 77 deletions src/main/java/net/rom/gctweaks/base/version/DownloadUpdate.java

This file was deleted.

30 changes: 0 additions & 30 deletions src/main/java/net/rom/gctweaks/gc/GalacticraftModule.java

This file was deleted.

Loading

0 comments on commit 4a4036e

Please sign in to comment.