Skip to content

Commit

Permalink
Merge pull request eutro#38 from Exaxxion/RFG
Browse files Browse the repository at this point in the history
Switch "Stable" to use RFG build scripts, and from GTCE to GTNE
  • Loading branch information
eutro authored Dec 17, 2024
2 parents 9d6519a + c6babcc commit 4ea6f90
Show file tree
Hide file tree
Showing 21 changed files with 2,140 additions and 336 deletions.
99 changes: 75 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,32 +1,83 @@
# eclipse
bin
*.launch
.settings
.nopublish

### Windows ###

thumbs.db
*.db

### Java ###

*.class

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.war
*.ear
*.txt

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Eclipse ###

*.pydevproject
.metadata
.classpath
.gradle
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
/eclipse

# Eclipse Core
.project

# idea
out
# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# JDT-specific (Eclipse Java Development Tools)
.classpath

# Java annotation processor (APT)
.factorypath

# PDT-specific
.buildpath

# sbteclipse plugin
.target

# TeXlipse plugin
.texlipse

### Intellij IDEA ###

*.iml
*.ipr
*.iws
*.iml
.idea

# gradle
build
.gradle
.idea/
.idea_modules/
/classes/
/out/
/build/

# other
eclipse
run
# Linux
*~

# Files from Forge MDK
forge*changelog.txt
/run/
/build/
/.gradle/
/.idea/
/.settings/
/FactoryBuilderDiagram.xcf
/examples/tests/
run/

logs/
30 changes: 30 additions & 0 deletions addon.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
tasks.register("copyExamples") {
doLast {
val scriptsDir = file("$projectDir/run/scripts")
val examplesDir = file("$projectDir/examples")
scriptsDir.deleteRecursively()
examplesDir.copyRecursively(scriptsDir)
}
}

tasks.named("runClient").configure {
dependsOn("copyExamples")
}

val javadoc: Javadoc by tasks
javadoc.apply {
exclude { el ->
el.file.isFile &&
(el.file.name != "package-info.java" &&
el.file.useLines { lines -> !lines.contains("@ZenRegister") })
}
setDestinationDir(file("docs/gtceu"))
(options as StandardJavadocDocletOptions).run {
locale("en")
tags!!.addAll(listOf(
"zenClass:a:ZenClass:",
"zenGetter:a:ZenGetter:",
"zenSetter:a:ZenSetter:"
))
}
}
Loading

0 comments on commit 4ea6f90

Please sign in to comment.