-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
73 lines (67 loc) · 2.18 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
buildscript {
//project.ext.roboVMVersion = "1.12.0"
//project.ext.roboVMGradleVersion = "1.12.0"
repositories {
mavenCentral()
maven { url 'https://s01.oss.sonatype.org' }
mavenLocal()
google()
gradlePluginPortal()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
}
dependencies {
classpath "com.android.tools.build:gradle:$androidPluginVersion"
//classpath "com.mobidevelop.robovm:robovm-gradle-plugin:$robovmVersion"
//classpath group: 'org.robovm', name: 'robovm-gradle-plugin', version: "1.12.0"
// This follows advice from https://blog.gradle.org/log4j-vulnerability
constraints {
classpath("org.apache.logging.log4j:log4j-core") {
version {
strictly("[2.18, 3[")
prefer("2.18.0")
}
because("CVE-2021-44228, CVE-2021-45046, CVE-2021-45105: Log4j vulnerable to remote code execution and other critical security vulnerabilities")
}
}
}
}
allprojects {
apply plugin: 'eclipse'
apply plugin: 'idea'
}
configure(subprojects - project(':android')) {
apply plugin: 'java-library'
sourceCompatibility = 1.8
compileJava {
options.incremental = true
}
dependencies {
//implementation group: 'org.robovm', name: 'robovm-rt', version: project.roboVMVersion
//implementation group: 'org.robovm', name: 'robovm-cocoatouch', version: project.roboVMVersion
// This follows advice from https://blog.gradle.org/log4j-vulnerability
constraints {
implementation("org.apache.logging.log4j:log4j-core") {
version {
strictly("[2.18, 3[")
prefer("2.18.0")
}
because("CVE-2021-44228, CVE-2021-45046, CVE-2021-45105: Log4j vulnerable to remote code execution and other critical security vulnerabilities")
}
}
}
}
subprojects {
version = '1.0.0'
ext.appName = 'TranceIOS'
repositories {
mavenCentral()
maven { url 'https://s01.oss.sonatype.org' }
mavenLocal()
gradlePluginPortal()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://jitpack.io' }
}
}
eclipse.project.name = 'TranceIOS' + '-parent'