gradle java
插件有一个FileCollection
属性,其中包含运行时类 - sourcesets.main.runtimeClasspath
。
com.android.application
插件中是否有等效内容?
答案 0 :(得分:1)
我发现' @@subroutine to add values into comboBox drop down for type of Study
Private Sub UserForm_Initialize()
Dim lastRow As Long
Dim lastColumn As Long
'MsgBox "Value : " & Range("B4").End(xlUp).Select
'MsgBox "Sheet2" & Sheet2.Cells(1, Columns.Count).End(xlToLeft).Column
'MsgBox "Test : " & Sheet5.Cells(1, Columns.Count).End(xlToLeft).Column
lastColumn = 18
'Sheet5.Cells(1, Columns.Count).End(xlToLeft).Column
With Worksheets("Sheet5")
For colsCounter = 1 To lastColumn
With .Columns(colsCounter)
lastRow = Sheet5.Cells(Rows.Count, colsCounter).End(xlUp).Row
With Range(Cells(1, colsCounter), Cells(lastRow, colsCounter))
Range(Cells(1, colsCounter), Cells(lastRow, colsCounter)).Select
Selection.CreateNames Top:=True
'Selection.CreateNames Top:=True, Left:=False, Bottom:=False, Right:=False
End With
End With
Next colsCounter
End With
latLandingForm.cmbLSPList.RowSource = "LspList"
的{{1}}属性可以附加到destinationDir
属性,这将导致applicationVariants
包含依赖类路径和编译的类。
我的用例是尝试在编译后运行java可执行文件:
javaCompile.classpath
在运行FileCollection
和gradle 2.10的Android Studio 2.1.1上测试。
参考:http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Shrinking-Resources