Merge test folder of test branch
[iotivity.git] / test / src / common / app / java / java-generic / TCPTestServer / build.gradle
1 apply plugin: 'java'
2
3 sourceSets {
4    main {
5       java {
6           srcDirs 'src', '../../../../commonutil/java/common/util/'
7       }
8    }
9 }
10
11 jar {
12     archiveName 'TcpTestServer.jar'
13     manifest {
14       attributes(
15             'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
16             'Main-Class': 'org.iotivity.test.tcpserver.SocketMainServer'
17       )
18     }
19 }
20
21 task install(type: Copy) {
22     from 'build/libs/TcpTestServer.jar'
23     into "${IOTIVITY_TEST_ROOT}/bin/linux/"
24 }
25
26 install.dependsOn assemble