Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@

# Mac OS X
.DS_Store
builds
fb
23 changes: 22 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ version = "2.3.8dev"
group= "twilightforest" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "twilightforest-1.7.10"

sourceCompatibility = 7
targetCompatibility = 7

minecraft {
version = "1.7.10-10.13.4.1558-1.7.10"
version = "1.7.10-10.13.4.1614-1.7.10"
runDir = "eclipse"
}

Expand Down Expand Up @@ -63,3 +66,21 @@ processResources
exclude 'mcmod.info'
}
}

task sourceJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'
}

task devJar(type: Jar) {
from sourceSets.main.output
classifier = 'dev'
manifest {
//attributes 'FMLCorePlugin': 'WhateverLoaderClass'
//attributes 'FMLCorePluginContainsFMLMod': 'true'
}
}

artifacts {
archives devJar
}
Loading