Ah, guys are confusing like that. I'm sure Ryan does like you; since it's rare that guys would tell your friends if they like you or not, especially knowing that there's a 101% chance of your friends telling you afterwards. I think that he just didn't see it coming.
Also, he said, "Maybe next year." That takes a lot of guts. Maybe he just needs time to think over the summer and sort his thoughts.
I'm sure everything will work out just fine; and if the slight chance of anything happening does happen, it's his loss. (=