That’s how I did it for mine, back in July…
The only thing that caught me this time around was the removing of string-buffer which was replaced with buffer-renderer. It wasn’t overly difficult, but I also don’t recall any deprecation messages for that in particular.
Granted, what would be really useful is a way to prevent loading a plugin unless the Discourse version is less than or equal to X. That way when Discourse updates to 1.8, my plugin will cease loading until I update it claiming 1.8 is safe.
I do understand that isn’t on the roadmap anytime soon though.