This file contains hidden or 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
| #!/usr/bin/env bash | |
| HASH="$(git rev-parse --short HEAD)" | |
| NAME="link-verifier" | |
| VERSION="0.4" | |
| DATE=$(date +%d-%m-%Y" "%H:%M:%S) | |
| BUILD_DIR="build" | |
| BUILD_TMP_DIR="$BUILD_DIR/tmp/$NAME-$VERSION" | |
| BUILD_BIN_DIR="$BUILD_DIR/binaries" | |
| BUILD_NIX_BIN_FILE="$BUILD_TMP_DIR/$NAME" |
This file contains hidden or 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
| initscript { | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| // needed for syncSnapshot and syncStaging | |
| classpath 'org.apache.maven.wagon:wagon-webdav-jackrabbit:2.10' | |
| classpath 'commons-codec:commons-codec:1.10' | |
| } | |
| } |
This file contains hidden or 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
| dependencies { | |
| runtime project(':core') | |
| runtime project(':dependencyManagement') | |
| runtime project(':pluginUse') | |
| runtime project(':toolingApi') | |
| } | |
| task jarJarJar(type: org.gradle.build.JarJarJar) { | |
| ext.shadedPackage = 'org.gradle.jarjar' | |
| from sourceSets.main.output |
This file contains hidden or 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
| package org.gradle.training | |
| import org.gradle.api.tasks.Input | |
| import org.gradle.api.tasks.OutputDirectory | |
| import org.gradle.api.tasks.TaskAction | |
| import org.gradle.api.DefaultTask | |
| import org.gradle.util.GFileUtils | |
| import org.gradle.api.artifacts.Configuration | |
| import org.gradle.api.artifacts.component.ModuleComponentIdentifier | |
| import org.gradle.maven.MavenModule |