forked from kotcrab/vis-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
74 lines (63 loc) · 1.93 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
buildscript {
ext.kotlinVersion = '1.2.20'
repositories {
mavenLocal()
mavenCentral()
maven { url "http://maven.aliyun.com/nexus/content/groups/public"}
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.netflix.nebula:gradle-extra-configurations-plugin:3.0.3"
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.5.3"
classpath "com.kotcrab.vis:vis-usl:0.2.1"
classpath "com.badlogicgames.gdx:gdx-tools:1.9.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
apply plugin: 'distribution'
apply plugin: 'io.codearte.nexus-staging'
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
apply plugin: "java"
apply plugin: "nebula.provided-base"
apply plugin: "nebula.optional-base"
apply plugin: "maven"
ext {
appName = 'vis'
gdxVersion = '1.9.6'
jnaVersion = '4.1.0'
jnaPlatformVersion = '3.5.2'
appleJavaExtensionsVersion = '1.4'
junitVersion = '4.12'
imgscalrVersion = '4.2'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
nexusStaging {
packageGroup = "com.kotcrab"
username = ossrhUsername
password = ossrhPassword
}
tasks.eclipse.doLast {
delete ".project"
}
task wrapper(type: Wrapper) {
gradleVersion = '3.5'
}
task uploadRuntimeAndPluginArchives(dependsOn: [':runtime:uploadArchives', ':plugins:vis-runtime-spriter:uploadArchives']) {
description 'Upload runtime and plugin runtimes archives'
}