-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
66 lines (55 loc) · 2.2 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10"
}
}
apply plugin: 'kotlin'
group 'org.yoavst.jeb'
version '0.4.5'
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes(
"JebPlugin-entryclass": ["com.yoavst.jeb.plugins.constarg.ConstArgRenamingPlugin",
"com.yoavst.jeb.plugins.constarg.ConstArgMassRenamingPlugin",
"com.yoavst.jeb.plugins.constarg.GetXPlugin",
"com.yoavst.jeb.plugins.enumsupport.EnumRenamingPlugin",
"com.yoavst.jeb.plugins.resourcesname.ResourcesNamePlugin",
"com.yoavst.jeb.plugins.kotlin.KotlinAnnotationPlugin",
"com.yoavst.jeb.plugins.kotlin.KotlinIntrinsicsPlugin",
"com.yoavst.jeb.plugins.sourcefile.SourceFilePlugin",
"com.yoavst.jeb.plugins.xrefsquery.XrefsQueryPlugin",
"com.yoavst.jeb.plugins.tostring.ToStringRenamingPlugin"].join(" "),
"jebPlugin-version": project.version
)
}
from {
configurations.compileResolvable.collect { it.isDirectory() ? it : zipTree(it) }
}
}
repositories {
mavenCentral()
}
configurations {
compileResolvable.extendsFrom implementation
}
configurations.compileResolvable.setCanBeResolved(true)
dependencies {
api 'org.apache.commons:commons-lang3:3.12.0'
compileOnly fileTree(dir: 'libs/runtime', include: ['*.jar'])
compileOnly 'org.python:jython:2.7.3b1'
compileResolvable platform('org.jetbrains.kotlin:kotlin-bom:1.8.0-Beta')
compileResolvable 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0-Beta'
implementation 'org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.5.0'
api 'org.apache.commons:commons-text:1.10.0'
}