add new scala build function (#12236)
add new scala build function (#12236)

removing unused code
dmlc/mxnet,sxjscience/mxnet,tlby/mxnet,tlby/mxnet,larroy/mxnet,reminisce/mxnet,zhreshold/mxnet,sxjscience/mxnet,leezu/mxnet,sxjscience/mxnet,ForkedReposBak/mxnet,larroy/mxnet,ForkedReposBak/mxnet,sxjscience/mxnet,apache/incubator-mxnet,mbaijal/incubator-mxnet,tlby/mxnet,eric-haibin-lin/mxnet,szha/mxnet,reminisce/mxnet,dmlc/mxnet,DickJC123/mxnet,ptrendx/mxnet,tlby/mxnet,leezu/mxnet,apache/incubator-mxnet,szha/mxnet,zhreshold/mxnet,mbaijal/incubator-mxnet,zhreshold/mxnet,reminisce/mxnet,ptrendx/mxnet,eric-haibin-lin/mxnet,ForkedReposBak/mxnet,mbaijal/incubator-mxnet,eric-haibin-lin/mxnet,zhreshold/mxnet,yajiedesign/mxnet,larroy/mxnet,yajiedesign/mxnet,dmlc/mxnet,sxjscience/mxnet,reminisce/mxnet,dmlc/mxnet,ptrendx/mxnet,yajiedesign/mxnet,ptrendx/mxnet,tlby/mxnet,dmlc/mxnet,DickJC123/mxnet,apache/incubator-mxnet,ptrendx/mxnet,ptrendx/mxnet,leezu/mxnet,zhreshold/mxnet,szha/mxnet,ForkedReposBak/mxnet,reminisce/mxnet,zhreshold/mxnet,larroy/mxnet,ForkedReposBak/mxnet,larroy/mxnet,leezu/mxnet,zhreshold/mxnet,sxjscience/mxnet,yajiedesign/mxnet,eric-haibin-lin/mxnet,ptrendx/mxnet,ptrendx/mxnet,mbaijal/incubator-mxnet,szha/mxnet,larroy/mxnet,larroy/mxnet,szha/mxnet,reminisce/mxnet,mbaijal/incubator-mxnet,leezu/mxnet,dmlc/mxnet,sxjscience/mxnet,tlby/mxnet,szha/mxnet,ptrendx/mxnet,DickJC123/mxnet,ForkedReposBak/mxnet,yajiedesign/mxnet,szha/mxnet,ForkedReposBak/mxnet,mbaijal/incubator-mxnet,ptrendx/mxnet,eric-haibin-lin/mxnet,zhreshold/mxnet,leezu/mxnet,yajiedesign/mxnet,tlby/mxnet,apache/incubator-mxnet,eric-haibin-lin/mxnet,yajiedesign/mxnet,eric-haibin-lin/mxnet,reminisce/mxnet,mbaijal/incubator-mxnet,dmlc/mxnet,dmlc/mxnet,ForkedReposBak/mxnet,eric-haibin-lin/mxnet,ForkedReposBak/mxnet,DickJC123/mxnet,szha/mxnet,larroy/mxnet,mbaijal/incubator-mxnet,tlby/mxnet,dmlc/mxnet,yajiedesign/mxnet,sxjscience/mxnet,eric-haibin-lin/mxnet,zhreshold/mxnet,mbaijal/incubator-mxnet,reminisce/mxnet,leezu/mxnet,larroy/mxnet,tlby/mxnet,reminisce/mxnet,szha/mxnet,leezu/mxnet,tlby/mxnet,sxjscience/mxnet,reminisce/mxnet,leezu/mxnet,yajiedesign/mxnet