[go: nahoru, domu]

blob: 224af95f2ac2e6a84b085e6590e04f04106fc759 [file] [log] [blame]
Raphael Moll0a65a882013-03-08 09:48:48 -08001group = 'com.android.tools'
2archivesBaseName = 'hierarchyviewer2'
3
4dependencies {
Xavier Ducrohet1ad1e592014-05-14 10:22:15 -07005 compile project(':base:common')
6 compile project(':base:sdklib')
7 compile project(':base:ddmlib')
8 compile project(':swt:ddmuilib')
9 compile project(':swt:hierarchyviewer2lib')
Xavier Ducrohet57079352014-01-15 13:47:45 -080010 compile project(':swt:swtmenubar')
Raphael Moll0a65a882013-03-08 09:48:48 -080011}
12
Xavier Ducrohetecb08c42014-02-04 19:16:51 -080013sdk {
14 linux {
Xavier Ducrohet1ad1e592014-05-14 10:22:15 -070015 item('etc/hierarchyviewer') { executable true }
Xavier Ducrohetecb08c42014-02-04 19:16:51 -080016 }
17 mac {
Xavier Ducrohet1ad1e592014-05-14 10:22:15 -070018 item('etc/hierarchyviewer') { executable true }
Xavier Ducrohetecb08c42014-02-04 19:16:51 -080019 }
20 windows {
Xavier Ducrohet1ad1e592014-05-14 10:22:15 -070021 item 'etc/hierarchyviewer.bat'
Xavier Ducrohetecb08c42014-02-04 19:16:51 -080022 }
Raphael Moll0a65a882013-03-08 09:48:48 -080023}
24
Xavier Ducrohetecb08c42014-02-04 19:16:51 -080025
Raphael Moll0a65a882013-03-08 09:48:48 -080026// include swt for compilation
27sourceSets.main.compileClasspath += configurations.swt
28
29// configure the manifest of the buildDistributionJar task.
Xavier Ducrohet92378202014-01-23 11:56:56 -080030sdkJar.manifest.attributes("Main-Class": "com.android.hierarchyviewer.HierarchyViewerApplication")
Raphael Moll0a65a882013-03-08 09:48:48 -080031