Autonomized build system

The build system should now be fully autonomous. That means that the build should run just fine without any user intervention upon cloning the repository. The dependencies are now pulled from [modmaven](https://modmaven.dev) instead of assuming they're in local directory. This removes the need to download them manually for users building this repository from source. Update of README.md is strongly advised.
This commit is contained in:
Enginecrafter77 2021-09-01 11:54:38 +02:00
parent 6365280f96
commit 9a41ccc0ba
2 changed files with 33 additions and 15 deletions

31
.gitignore vendored
View File

@ -1,11 +1,22 @@
/.gradle/
/bin/
/build/
/eclipse/
/lib/
/.git/
/.gradle/
/.settings/
/.classpath
/.project
# eclipse
eclipse
bin
*.launch
.settings
.metadata
.classpath
.project
# idea
out
*.ipr
*.iws
*.iml
.idea
# gradle
build
.gradle
# other
run

View File

@ -21,18 +21,25 @@ buildscript {
apply plugin: 'forge'
version = "1.0"
group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "modid"
group= "com.hbm" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "HBM-NTM"
minecraft {
version = "1.7.10-10.13.4.1558-1.7.10"
runDir = "eclipse"
}
repositories {
maven {
name = 'ModMaven'
url = 'https://modmaven.dev'
}
}
dependencies {
compile files('lib/CodeChickenCore-1.7.10-1.0.4.29-dev.jar')
compile files('lib/CodeChickenLib-1.7.10-1.1.3.140-dev.jar')
compile files('lib/NotEnoughItems-1.7.10-1.0.3.74-dev.jar')
compile 'codechicken:CodeChickenCore:1.7.10-1.0.4.29:dev'
compile 'codechicken:CodeChickenLib:1.7.10-1.1.3.140:dev'
compile 'codechicken:NotEnoughItems:1.7.10-1.0.3.74:dev'
}
processResources