Added build file for all examples.
This commit is contained in:
parent
d9e0acef6c
commit
144868855f
6 changed files with 42 additions and 3 deletions
32
examples/.gitignore
vendored
Normal file
32
examples/.gitignore
vendored
Normal 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
5
examples/build.gradle
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
task run {
|
||||||
|
dependsOn(
|
||||||
|
"java:clean", "java:run",
|
||||||
|
"kotlin:clean", "kotlin:run", "kotlin:runJava")
|
||||||
|
}
|
|
@ -6,7 +6,7 @@ import com.beust.kobalt.plugin.packaging.*
|
||||||
import java.io.FileInputStream
|
import java.io.FileInputStream
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
// .kobaltw run
|
// ./kobaltw run
|
||||||
|
|
||||||
val bs = buildScript {
|
val bs = buildScript {
|
||||||
repos(localMaven())
|
repos(localMaven())
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
kobalt.version=1.0.87
|
kobalt.version=1.0.114
|
|
@ -16,7 +16,7 @@ public final class GeneratedVersion {
|
||||||
public final static String BUILDMETA_PREFIX = "+";
|
public final static String BUILDMETA_PREFIX = "+";
|
||||||
|
|
||||||
public final static String PROJECT = "Example";
|
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 MAJOR = 2;
|
||||||
public final static int MINOR = 17;
|
public final static int MINOR = 17;
|
||||||
public final static int PATCH = 52;
|
public final static int PATCH = 52;
|
||||||
|
|
2
examples/settings.gradle
Normal file
2
examples/settings.gradle
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
include "java", "kotlin"
|
||||||
|
rootProject.name = 'examples'
|
Loading…
Add table
Add a link
Reference in a new issue