forked from openrndr/openrndr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
95 lines (79 loc) · 2.99 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
plugins {
// plugin dependencies, load without applying them
id 'nebula.kotlin' version '1.2.70' apply false
id 'com.jfrog.artifactory' version '4.6.2' apply false
id 'nebula.contacts' version '4.1.1' apply false
id 'nebula.info' version '4.0.2' apply false
id 'nebula.dependency-lock' version '6.1.2' apply false
id 'nebula.facet' version '5.1.2' apply false
id 'nebula.maven-apache-license' version '9.0.2' apply false
id 'nebula.maven-publish' version '9.0.2' apply false
id 'nebula.release' version '8.0.3' apply false
id 'nebula.nebula-bintray' version '4.0.2' apply false
id 'nebula.source-jar' version '9.0.2' apply false
}
project.ext {
lwjglVersion = '3.2.0'
}
allprojects {
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'nebula.kotlin'
apply plugin: 'nebula.contacts'
apply plugin: 'nebula.info'
apply plugin: 'nebula.dependency-lock'
apply plugin: 'nebula.facet'
apply plugin: 'nebula.maven-apache-license'
apply plugin: 'nebula.release'
apply plugin: 'nebula.maven-publish'
// selectively apply only the bintray plugin, snapshots are not published
// nebula-bintray needs to happened after nebula-release since version isn't lazy in the bintray extension
apply plugin: 'nebula.nebula-bintray-publishing'
apply plugin: 'nebula.source-jar'
group 'org.openrndr'
repositories {
jcenter()
}
dependencies {
implementation 'io.github.microutils:kotlin-logging:1.5.4'
testImplementation 'org.jetbrains.spek:spek-api:1.1.5'
testImplementation 'org.amshove.kluent:kluent:1.37'
testRuntime 'org.jetbrains.spek:spek-junit-platform-engine:1.1.5'
//testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.2.0'
testRuntime 'org.junit.platform:junit-platform-console:1.2.0'
}
test {
// enable JUnit Platform (a.k.a. JUnit 5) support
// works together with the two testRuntime dependencies (spek engine & jupiter engine)
//useJUnitPlatform()
}
if (System.getenv('TRAVIS') == null) {
task runJupiter(type: JavaExec) {
jvmArgs '-XstartOnFirstThread'
classpath = project.sourceSets.test.runtimeClasspath
main 'org.junit.platform.console.ConsoleLauncher'
args '--scan-class-path'
args "--reports-dir=$project.testReportDir"
}
test.dependsOn runJupiter
}
contacts {
'edwin@openrndr.org' {
moniker 'Edwin Jakobs'
github 'edwinrndr'
}
}
bintray {
pkg {
userOrg = 'openrndr'
repo = 'openrndr'
name = 'openrndr'
desc = project.description
licenses = ['BSD-2-Clause']
vcsUrl = 'https://github.com/openrndr/openrndr.git'
websiteUrl = 'https://www.openrndr.org'
issueTrackerUrl = 'https://github.com/openrndr/openrndr/issues'
labels = ['creative-coding', 'realtime-rendering', 'opengl']
}
}
}