Skip to content

Commit

Permalink
[SVN] r1934 Inventory in /Projects/Inventory/
Browse files Browse the repository at this point in the history
[FIX] Remove hardcoded paths and use android srcDirs
  • Loading branch information
TWiStErRob committed Jul 4, 2016
1 parent d1d73fe commit c3171af
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ apply plugin: InventoryDatabasePlugin

databaseEntities {
categories {
input = file(/i:\src\main\res\values\strings_Categories.xml/)
output = file(/i:\src\main\assets\MagicHomeInventory.data.Categories.sql/)
iconFolder = file(/i:\src\main\res\raw/)
def ss = android.sourceSets.main
input = file(new File(ss.res.srcDirs.first(), 'values/strings_Categories.xml'))
output = file(new File(ss.assets.srcDirs.first(), 'MagicHomeInventory.data.Categories.sql'))
iconFolder = file(new File(ss.res.srcDirs.first(), 'raw'))
conversion = "SQL"
}
}
Expand Down

0 comments on commit c3171af

Please sign in to comment.