Add ProbeDevice.
Convert to gradle.