Skip to content

Instantly share code, notes, and snippets.

@jamroks
jamroks / build.gradle
Created April 5, 2012 13:05 — forked from waman/build.gradle
Gradle build file for JavaFX project
apply plugin:'java'
defaultTasks 'test'
//defaultTasks 'clean', 'build'
// 設定項目↓↓↓
group = 'org.waman' // グループ名 & implementation-vendor
version = 1.0 // アプリケーション・バージョン& implementation-version
def jdkVersion = 1.7
def enc = 'UTF-8'
/*
* The plugins used for this build.
*/
/*
* Provides the compile, test, jar, etc tasks
*/
apply plugin: 'java'
/*
* Generates the Eclipse project files.
from pyparsing import *
# By default, PyParsing treats \n as whitespace and ignores it
# In our grammer, \n is significant, so tell PyParsing not to ignore it
ParserElement.setDefaultWhitespaceChars(" \t")
def parse(input_string):
def convert_prop_to_dict(tokens):
"""Convert a list of field property tokens to a dict"""
prop_dict = {}
@ComponentScan
@Import(ServiceConfiguration.class)
@EnableHypermediaSupport(type = EnableHypermediaSupport.HypermediaType.HAL)
@EnableAutoConfiguration
public class Application extends SpringBootServletInitializer {
private static Class<Application> applicationClass = Application.class;
public static void main(String[] args) {
SpringApplication.run(applicationClass);
}
pipeline {
agent { label "dockeragent"}
stages {
stage ('Bundler Setup'){
steps {
sh 'bundle install'
echo 'finished installing gem file'
}
}