119 lines
3.3 KiB
Groovy
119 lines
3.3 KiB
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.9.17"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
// plugin dependencies, load without applying them
|
|
id 'nebula.kotlin' version '1.3.41' 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
|
|
}
|
|
|
|
|
|
//allprojects {
|
|
// group 'org.openrndr.extra'
|
|
// version '0.0.30'
|
|
//}
|
|
//
|
|
//repositories {
|
|
// mavenLocal()
|
|
// mavenCentral()
|
|
//}
|
|
|
|
project.ext {
|
|
openrndrVersion = "0.3.35"
|
|
kotlinVersion = "1.3.41"
|
|
spekVersion = "2.0.6"
|
|
libfreenectVersion = "0.5.7-1.5.1"
|
|
}
|
|
|
|
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.extra'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url = "https://dl.bintray.com/openrndr/openrndr"
|
|
}
|
|
|
|
|
|
maven {
|
|
url "https://dl.bintray.com/spekframework/spek"
|
|
}
|
|
|
|
|
|
}
|
|
|
|
dependencies {
|
|
compile "org.openrndr:openrndr-core:$openrndrVersion"
|
|
compile "org.openrndr:openrndr-filter:$openrndrVersion"
|
|
compile "org.openrndr:openrndr-shape:$openrndrVersion"
|
|
compile group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: '1.3.0-RC2'
|
|
|
|
testImplementation "org.spekframework.spek2:spek-dsl-jvm:$spekVersion"
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlinVersion"
|
|
testRuntimeOnly "org.spekframework.spek2:spek-runner-junit5:$spekVersion"
|
|
testRuntimeOnly "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
|
|
}
|
|
|
|
contacts {
|
|
'edwin@openrndr.org' {
|
|
moniker 'Edwin Jakobs'
|
|
github 'edwinRNDR'
|
|
}
|
|
}
|
|
|
|
bintray {
|
|
pkg {
|
|
userOrg = 'openrndr'
|
|
repo = 'openrndr'
|
|
name = 'orx'
|
|
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']
|
|
}
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform {
|
|
includeEngines 'spek2'
|
|
}
|
|
}
|
|
} |