Scotland's energy minister has said that fracking will not take place there.