From 63b507e51d299f8d1d6b63476bfb347d5f6f90b8 Mon Sep 17 00:00:00 2001 From: Nikky Ai Date: Wed, 24 Jan 2018 13:33:13 +0100 Subject: [PATCH] add jenkins instructions and clean build.gradle --- JenkinsFile | 5 +++++ build.gradle | 26 -------------------------- 2 files changed, 5 insertions(+), 26 deletions(-) create mode 100644 JenkinsFile diff --git a/JenkinsFile b/JenkinsFile new file mode 100644 index 0000000..8e10327 --- /dev/null +++ b/JenkinsFile @@ -0,0 +1,5 @@ +node { + checkout scm + sh './gradlew setupCiWorkspace clean build' + archive 'build/libs/*jar' +} \ No newline at end of file diff --git a/build.gradle b/build.gradle index 76904c1..04e9df6 100644 --- a/build.gradle +++ b/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' } \ No newline at end of file