I watched this film on Cartoon Network India sometime between 2005-10.
The society, situated amidst a jungle of sorts, has a recurring ritual to offer their produce to the god(s). It is very taxing on them but still they decide to do it due to fear of divine vengeance.
A teen girl refuses to accept it as a way of life and questions the whole enterprise. The rest of the story, IIRC, is about the tumultuous fight of girl vs god. There might even be human sacrifice involved but I'm not sure about that. The whole thing was CGI, no traditional animation. I recall a fight between the girl and a giant basilisk(?) near the end.
I looked up programming of CN India and other CN channels as well on Wikipedia and this movie failed to show up. Since I watched the Hindi dub, I'm not sure what the original language of the film was.
It'd be great if somebody could help me remember what it was.