forked from Xilinx/fpga24_routing_contest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (38 loc) · 790 Bytes
/
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
/*
* Copyright (C) 2023-2024, Advanced Micro Devices, Inc. All rights reserved.
*
* Author: Eddie Hung, AMD
*
* SPDX-License-Identifier: MIT
*
*/
// Specify this is a Java project
plugins {
id 'java-library'
}
dependencies {
api project(':RapidWright')
}
repositories {
mavenCentral()
}
sourceSets {
main {
// Source code to be taken from the src/ subdirectory
java {
srcDirs = ['src']
}
}
}
task run(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = System.getProperty('main')
if (System.getProperty('jvmArgs') != null) {
jvmArgs System.getProperty('jvmArgs').split(' ')
}
}
task runtimeClasspath {
doLast {
println configurations.runtimeClasspath.asPath
}
}