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.util.GUtil | |
import org.gradle.api.publish.maven.internal.publication.MavenPublicationInternal | |
import org.apache.maven.model.io.xpp3.MavenXpp3Reader | |
import org.apache.maven.model.io.xpp3.MavenXpp3Writer | |
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>net.wti</groupId> | |
<artifactId>java9-test</artifactId> | |
<version>1.0-SNAPSHOT</version> |
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
//bin/cat &>/dev/null <<'EOF' | |
/* This mess is a trick to start a shell script inside a valid java comment. | |
EOF | |
mkdir -p /tmp/xapi # grab a safe place to work | |
yes | cp -u $0 /tmp/xapi # copy this file there | |
# suppress annoying log messages | |
pushd () { |
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
<link rel="import" href="../ace-element/ace-element.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
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 xapi.dev.source; | |
/** | |
* A fast, lightweight string templating system with zero dependencies. | |
* | |
* You supply a template String and an array of tokens to replace when calling | |
* {@link #apply(String...)}. The order of tokens supplied in the constructor | |
* corresponds to the order of strings supplied in apply(). | |
* | |
* The Template will compile your string into an executable stack, which |
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 xapi.dist.server; | |
import java.io.ByteArrayOutputStream; | |
import java.io.File; | |
import java.io.IOException; | |
import java.lang.ProcessBuilder.Redirect; | |
import java.net.URISyntaxException; | |
import java.net.URL; | |
import java.net.URLClassLoader; | |
import java.nio.charset.Charset; |