This repository has been archived by the owner on Aug 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
154 changed files
with
5,653 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
# Adapted from http://www.gitignote.io | ||
|
||
### Windows ### | ||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msm | ||
*.msp | ||
|
||
|
||
### OSX ### | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear on external disk | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
|
||
|
||
### Linux ### | ||
*~ | ||
|
||
# KDE directory preferences | ||
.directory | ||
|
||
|
||
### Java ### | ||
*.class | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.ear | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
|
||
|
||
### Eclipse ### | ||
*.pydevproject | ||
.metadata | ||
.gradle | ||
bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.settings/ | ||
.loadpath | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# CDT-specific | ||
.cproject | ||
|
||
# PDT-specific | ||
.buildpath | ||
|
||
# sbteclipse plugin | ||
.target | ||
|
||
# TeXlipse plugin | ||
.texlipse | ||
|
||
|
||
### Intellij ### | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm | ||
|
||
## Directory-based project format | ||
.idea/ | ||
/*.iml | ||
|
||
## File-based project format | ||
*.ipr | ||
*.iws | ||
|
||
## Additional for IntelliJ | ||
out/ | ||
|
||
# generated by mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# generated by JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# generated by Crashlytics plugin (for Android Studio and Intellij) | ||
com_crashlytics_export_strings.xml | ||
|
||
|
||
### Project ### | ||
.classpath | ||
.project | ||
run/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#Contributing | ||
|
||
We love pull requests. Here is a quick guide: | ||
|
||
To get started, [sign the Contributor License Agreement][cla]. This project is in the public domain and we need you to agree that your submissions will also be in the public domain. See [unlicense.org](http://unlicense.org/). | ||
|
||
[cla]: https://www.clahub.com/agreements/MinecraftModArchive/Dendrology | ||
|
||
Fork, then clone the repo: | ||
|
||
git clone git@github.com:your-username/Dendrology.git | ||
|
||
Check out the development branch: | ||
|
||
git checkout develop | ||
|
||
Set up your development environment: | ||
|
||
gradlew setupDecompWorkspace | ||
|
||
Setup your integrated development environment: | ||
|
||
gradlew idea | ||
|
||
-or- | ||
|
||
gradlew eclipse | ||
|
||
Make your changes. | ||
|
||
Push to your fork and [submit a pull request][pr]. | ||
|
||
[pr]: https://github.com/MinecraftModArchive/Dendrology/compare/ | ||
|
||
At this point, things are waiting on us. We may merge your code as is. We may suggest some changes or improvements or alternatives. | ||
|
||
###Some things that will increase the chance thate your pull request is accepted: | ||
|
||
* Write logical, thought out code. | ||
* Reuse your code. | ||
* Write a [good commit message][commit]. | ||
|
||
[commit]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,38 @@ | ||
Dendrology | ||
========== | ||
# Dendrology | ||
**CURRENTLY IN DEVELOPMENT** | ||
|
||
[Contributing](#contributing) | ||
|
||
[Support](#support) | ||
|
||
[Licensing](#licensing) | ||
|
||
## Contributing | ||
|
||
Please see [CONTRIBUTING.md](CONTRIBUTING.md). | ||
|
||
## Support | ||
Something not quite right? Have a suggestion? Found a bug? Create an issue now! | ||
|
||
1. Make sure your issue hasn't already been answered or fixed. Also think about whether your issue is a valid one before submitting it. | ||
2. Go to [the issues page][issues]. | ||
3. Click [`New Issue`][new] right below `Star` and `Fork`. | ||
4. Enter your Issue's title (something that summarizes your issue), and then create a detailed description ("Hey, could you add/change xxx?" or "Hey, I found an exploit.", etc.). | ||
5. Click `Submit new issue`, and wait for feedback! | ||
|
||
[issues]: /MinecraftModArchive/Dendrology/issues | ||
[new]: /MinecraftModArchive/Dendrology/issues/new | ||
|
||
* * * | ||
|
||
### Licensing | ||
|
||
This is free and unencumbered software released into the public domain. | ||
|
||
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. | ||
|
||
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
For more information, please refer to [unlicense.org](http://unlicense.org/). |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
evaluationDependsOn(':version') | ||
|
||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
maven { | ||
name = "forge" | ||
url = "http://files.minecraftforge.net/maven" | ||
} | ||
maven { | ||
name = "sonatype" | ||
url = "https://oss.sonatype.org/content/repositories/snapshots/" | ||
} | ||
} | ||
dependencies { | ||
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT' | ||
} | ||
} | ||
|
||
apply plugin: 'forge' | ||
apply plugin: 'maven' | ||
apply plugin: 'signing' | ||
|
||
group = "com.scottkillen.mod" | ||
archivesBaseName = "dendrology_"+ project.mcversion | ||
|
||
minecraft { | ||
version = project.mcversion + "-" + project.forgeversion | ||
runDir = "run" | ||
|
||
replace '@VERSION@', project.version | ||
} | ||
|
||
processResources | ||
{ | ||
// this will ensure that this task is redone when the versions change. | ||
inputs.property "version", project.version | ||
inputs.property "mcversion", project.minecraft.version | ||
|
||
// replace stuff in the files we want. | ||
from(sourceSets.main.resources.srcDirs) { | ||
include '**/*.info' | ||
|
||
expand 'mod_version': project.version, 'minecraft_version': project.minecraft.version | ||
} | ||
|
||
// copy everything else, that we didn't do before | ||
from(sourceSets.main.resources.srcDirs) { | ||
exclude '**/*.info' | ||
} | ||
} | ||
|
||
jar { | ||
includeEmptyDirs = false | ||
} | ||
|
||
// add a source jar | ||
task sourceJar(type: Jar) { | ||
from sourceSets.main.allSource | ||
appendix = 'deobf' | ||
classifier = 'src' | ||
} | ||
|
||
// create a deobfuscated jar for developers | ||
task devJar(type: Jar) { | ||
from(sourceSets.main.output) { | ||
include '**' | ||
} | ||
|
||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE | ||
|
||
classifier = 'dev' | ||
} | ||
|
||
// create a source jar | ||
task srcJar(type: Jar) { | ||
from(sourceSets.main.allSource) { | ||
include '**' | ||
} | ||
|
||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE | ||
|
||
classifier = 'src' | ||
} | ||
|
||
artifacts { | ||
archives srcJar | ||
archives devJar | ||
} | ||
|
||
signing { | ||
required { gradle.taskGraph.hasTask(":uploadArchives") } | ||
sign configurations.archives | ||
} | ||
|
||
//noinspection GroovyMissingReturnStatement | ||
uploadArchives { | ||
repositories { | ||
mavenDeployer { | ||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | ||
|
||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { | ||
authentication(userName: ossrhUsername, password: ossrhPassword) | ||
} | ||
|
||
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { | ||
authentication(userName: ossrhUsername, password: ossrhPassword) | ||
} | ||
|
||
pom.project { | ||
name 'Dendrology' | ||
packaging 'jar' | ||
// optionally artifactId can be defined here | ||
description 'The Dendrology mod for Minecraft.' | ||
url 'https://github.com/MinecraftModArchive/Dendrology' | ||
|
||
scm { | ||
connection 'scm:git@github.com:MinecraftModArchive/Dendrology.git' | ||
developerConnection 'scm:git@github.com:MinecraftModArchive/Dendrology.git' | ||
url 'https://github.com/MinecraftModArchive/Dendrology' | ||
} | ||
|
||
licenses { | ||
license { | ||
name 'Unlicense' | ||
url 'http://unlicense.org/' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Tue Oct 07 22:55:33 EDT 2014 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-all.zip |
Oops, something went wrong.