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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure(2) do |config| | |
| config.vm.box = "boxcutter/centos71" | |
| config.vm.network "private_network", ip: "10.1.1.123" | |
| config.vm.provision "shell", inline: "sudo yum install -y https://bintray.com/artifact/download/jfrog/artifactory-rpms/artifactory-3.6.0.rpm" | |
| config.vm.provision "shell", inline: "sudo yum install -y java" | |
| config.vm.provision "shell", inline: "sudo systemctl start artifactory" |
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
| Blog Post |
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
| echo; | |
| echo -en "( º_º) ┬─┬ \r"; sleep .5; | |
| echo -en " ( º_º) ┬─┬ \r"; sleep .5; | |
| echo -en " ( ºДº)┬─┬ \r"; sleep .5; | |
| echo -en " (╯'Д')╯︵⊏ \r"; sleep .5; | |
| echo -en " (╯'□')╯︵ ⊏ \r"; sleep .5; | |
| echo " (╯°□°)╯︵ ┻━┻"; sleep .5; |
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
| import org.gradle.platform.* | |
| interface CustomLanguageSourceSet extends LanguageSourceSet {} | |
| interface SampleComponent extends ComponentSpec {} | |
| interface SampleBinary extends BinarySpec {} | |
| class DefaultCustomLanguageSourceSet extends BaseLanguageSourceSet implements CustomLanguageSourceSet {} | |
| class DefaultSampleBinary extends BaseBinarySpec implements SampleBinary {} | |
| class DefaultSampleComponent extends BaseComponentSpec implements SampleComponent {} |
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
| echo | |
| echo -en "( º_º) ┬─┬ \r" | |
| sleep .5 | |
| echo -en " ( º_º) ┬─┬ \r" | |
| sleep .5 | |
| echo -en " ( ºДº)┬─┬ \r" | |
| sleep .5 | |
| echo -en " (╯'Д')╯︵⊏ \r" | |
| sleep .5 | |
| echo -en " (╯'□')╯︵ ⊏ \r" |
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
| apply plugin: 'python-sdist' | |
| dependencies { | |
| python 'pypi:Werkzeug:0.7', | |
| python 'pypi:Jinja2:2.4', | |
| python 'pypi:itsdangerous:0.21', | |
| python 'pypi:click:2.0' | |
| } |
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
| apply plugin: 'python-sdist' | |
| dependencies { | |
| python 'pypi:Werkzeug:0.7', | |
| python 'pypi:Jinja2:2.4', | |
| python 'pypi:itsdangerous:0.21', | |
| python 'pypi:click:2.0' | |
| } |
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
| from setuptools.dist import Distribution | |
| import os | |
| class GradleDistribution(Distribution, object): | |
| """The Python to Gradle bridge.""" | |
| #: The name of the requirements file generated by pygradle. | |
| PINNED_TXT = 'pinned.txt' |
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
| $ tree | |
| ├── build.gradle | |
| ├── gradlew | |
| ├── foo | |
| │ ├── build.gradle | |
| │ ├── setup.cfg | |
| │ ├── setup.py | |
| │ ├── src | |
| │ │ └── foo |
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
| NAME=$1 | |
| DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| REPO="" | |
| USERNAME="" | |
| KEY="" | |
| echo "Uploading $1 to bintray" | |
| if jfrog bt package-show $USERNAME/$USERNAME/$NAME > /dev/null; then | |
| echo "Package already exists, not creating" |