Added build file for all examples.

This commit is contained in:
Erik C. Thauvin 2018-07-05 17:39:56 -07:00
parent d9e0acef6c
commit 144868855f
6 changed files with 42 additions and 3 deletions

32
examples/.gitignore vendored Normal file
View file

@ -0,0 +1,32 @@
**/.idea/dictionaries
**/.idea/gradle.xml
**/.idea/libraries
**/.idea/tasks.xml
**/.idea/workspace.xml
**/src/*.class
*.code-workspace
*.iws
*.properties
*.sublime-*
.classpath
.DS_Store
.gradle
.kobalt
.nb-gradle
.project
.settings
/bin
/build
/deploy
/dist
/gen
/gradle.properties
/local.properties
/out
/proguard-project.txt
/project.properties
/target
/test-output
ehthumbs.db
kobaltBuild
Thumbs.db

5
examples/build.gradle Normal file
View file

@ -0,0 +1,5 @@
task run {
dependsOn(
"java:clean", "java:run",
"kotlin:clean", "kotlin:run", "kotlin:runJava")
}

View file

@ -6,7 +6,7 @@ import com.beust.kobalt.plugin.packaging.*
import java.io.FileInputStream
import java.util.*
// .kobaltw run
// ./kobaltw run
val bs = buildScript {
repos(localMaven())

View file

@ -1 +1 @@
kobalt.version=1.0.87
kobalt.version=1.0.114

View file

@ -16,7 +16,7 @@ public final class GeneratedVersion {
public final static String BUILDMETA_PREFIX = "+";
public final static String PROJECT = "Example";
public final static Date BUILDDATE = new Date(1530684509154L);
public final static Date BUILDDATE = new Date(1530837381991L);
public final static int MAJOR = 2;
public final static int MINOR = 17;
public final static int PATCH = 52;

2
examples/settings.gradle Normal file
View file

@ -0,0 +1,2 @@
include "java", "kotlin"
rootProject.name = 'examples'