-
Notifications
You must be signed in to change notification settings - Fork 100
/
build.gradle
84 lines (70 loc) · 1.69 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
ext{
versions = [:]
libraries = [:]
}
versions.robovm = "2.3.20"
versions.junit = "4.11"
versions.jnigen = "28dd11fa4c33a7ae9e58897912b52ba7d53d54fe"
libraries.robovm = [
"com.mobidevelop.robovm:robovm-rt:${versions.robovm}",
"com.mobidevelop.robovm:robovm-objc:${versions.robovm}",
"com.mobidevelop.robovm:robovm-cocoatouch:${versions.robovm}"
]
libraries.junit = [
"junit:junit:${versions.junit}"
]
libraries.jnigen = [
"com.github.libgdx.gdx-jnigen:gdx-jnigen:$versions.jnigen"
]
allprojects{
apply plugin: 'maven-publish'
group = 'com.github.Anuken'
version = '1.0'
buildscript{
repositories{
mavenCentral()
google()
maven{ url 'https://jitpack.io' }
}
dependencies{
classpath "com.github.libgdx.gdx-jnigen:gdx-jnigen-gradle:dffc32eecbf77aad264991ea44f1767a58cbee9d"
}
}
repositories{
mavenCentral()
google()
maven{ url 'https://jitpack.io' }
}
ext.aproj = { String module ->
if(findProject(module) != null){
return project(module)
}else{
return project(":Arc" + module)
}
}
tasks.withType(JavaCompile){
java{
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
options.encoding = "UTF-8"
}
}
subprojects{
apply plugin: "java-library"
compileJava{
options.fork = true
options.incremental = true
}
java{
withJavadocJar()
withSourcesJar()
}
publishing{
publications{
maven(MavenPublication){
from components.java
}
}
}
}