Get your taxes done using TurboTax

A 17 year-old is indeed able to be a dependent for the full year of 2019.  You may be confusing dependency with eligibility for the child tax credit or stimulus.  To be eligible for either of those, the child must be younger then 17 at year-end.