This repository was archived by the owner on Jun 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
53 lines (44 loc) · 1.41 KB
/
Copy pathbuild.gradle
File metadata and controls
53 lines (44 loc) · 1.41 KB
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
apply plugin: "java"
apply plugin: "idea"
apply plugin: "eclipse"
version '1.0.0'
compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
sourceSets {
main.java.srcDirs = ['src-jvm/main/java']
main.resources.srcDirs = ['src-jvm/main/resources']
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url 'https://oss.sonatype.org/content/groups/public' }
}
configurations { provided }
sourceSets { main { compileClasspath += configurations.provided } }
dependencies {
provided files('jars/x-annotations-12.0.jar')
provided files('jars/x-compiler-2.3.4.jar')
provided files('jars/x-java-dynamic-compile-ext-1.0.0.jar')
provided files('jars/x-slf4j-api-1.7.25.jar')
provided files('vendor/jphp-core/jars/asm-all-5.2.jar',
'vendor/jphp-core/jars/jphp-core-0.9.3-SNAPSHOT.jar',
'vendor/jphp-runtime/jars/jphp-runtime-1.0.3.jar',
'vendor/jphp-zend-ext/jars/gson-2.7.jar',
'vendor/jphp-zend-ext/jars/jphp-zend-ext-0.9.3-SNAPSHOT.jar',
'vendor/jphp-json-ext/jars/gson-2.7.jar',
'vendor/jphp-json-ext/jars/jphp-json-ext-0.9.3-SNAPSHOT.jar',
'vendor/java-reflection-ext/jars/x-java-reflection-ext-1.1.1.jar')
compile 'net.openhft:compiler:2.3.4'
}
jar {
destinationDir = file('jars/')
baseName = 'x-java-dynamic-compile-ext'
}
task copyJars(type: Copy) {
from project.configurations.compile
into file(projectDir.path + '/jars/')
rename { name -> 'x-' + name }
}