Resolve gradle issue