add jenkins instructions and clean build.gradle
This commit is contained in:
parent
8c1712cf86
commit
63b507e51d
|
@ -0,0 +1,5 @@
|
|||
node {
|
||||
checkout scm
|
||||
sh './gradlew setupCiWorkspace clean build'
|
||||
archive 'build/libs/*jar'
|
||||
}
|
26
build.gradle
26
build.gradle
|
@ -51,28 +51,6 @@ repositories {
|
|||
|
||||
dependencies {
|
||||
compile group: "net.shadowfacts", name: "Forgelin", version: "1.6.0"
|
||||
compile group: 'io.github.microutils', name: 'kotlin-logging', version: '+'
|
||||
// you may put jars on which you depend on in ./libs
|
||||
// or you may define them like so..
|
||||
//compile "some.group:artifact:version:classifier"
|
||||
//compile "some.group:artifact:version"
|
||||
|
||||
// real examples
|
||||
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
|
||||
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
|
||||
|
||||
// the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime.
|
||||
//provided 'com.mod-buildcraft:buildcraft:6.0.8:dev'
|
||||
|
||||
// the deobf configurations: 'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided,
|
||||
// except that these dependencies get remapped to your current MCP mappings
|
||||
//deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev'
|
||||
//deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev'
|
||||
|
||||
// for more info...
|
||||
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
|
||||
// http://www.gradle.org/docs/current/userguide/dependency_management.html
|
||||
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
@ -102,8 +80,4 @@ processResources {
|
|||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'mcmod.info'
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main.java.srcDirs += 'src/main/kotlin'
|
||||
}
|
Loading…
Reference in New Issue