Differential geometry – Cohomology of the Lie groupoid

Given a grouopid lie $ mathcal {G} = ( mathcal {G} _1 rightrightarrows mathcal {G} _0) $ I'm trying to understand what should be the groupoid cohomology of this Lie groupoid $ mathcal {G} $".

Some notes deal with the cohomology of the Lie groupoid.

Given a group of lies $ G $we can associate a Lie groupoid $ (G rightrightarrows *) $.

Given a group of lies $ G $, we have the notion of cohomology of the Lie group $ G $.

Could this be used as a motivation to define cohoology of Lie groupoid $ (G rightrightarrows *) $?