-
Notifications
You must be signed in to change notification settings - Fork 72
/
build.gradle
70 lines (54 loc) · 1.49 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.ben-manes:gradle-versions-plugin:0.28.0'
}
}
plugins {
id 'org.jetbrains.intellij' version '0.4.18'
id 'org.jetbrains.kotlin.jvm' version '1.3.71'
id 'org.sonarqube' version '2.8'
}
apply plugin: 'com.github.ben-manes.versions'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
apply plugin: 'kotlin'
repositories {
jcenter()
}
dependencies {
compile fileTree(dir: 'lib', include: '*.jar')
compile 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
compile 'org.smali:baksmali:2.5.2'
}
intellij {
version = 'IC-2020.1'
downloadSources false
updateSinceUntilBuild false
pluginName 'java2smali'
sandboxDirectory = project.rootDir.canonicalPath + '/.sandbox'
publishPlugin {
token = System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken")
}
plugins = ['java']
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = '1.8'
apiVersion = '1.2'
languageVersion = '1.2'
}
}
sonarqube {
properties {
property "sonar.projectName", "intellij-java2smali"
property "sonar.projectKey", "org.ollide:intellij-java2smali"
property "sonar.sources", "src"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.organization", "ollide-github"
property "sonar.login", SONAR_TOKEN
}
}
version = '2.1.0-SNAPSHOT'