Lines Matching defs:Pom
157 type Pom struct { struct
158 XMLName xml.Name `xml:"http://maven.apache.org/POM/4.0.0 project"`
160 PomFile string `xml:"-"`
161 ArtifactFile string `xml:"-"`
162 BpTarget string `xml:"-"`
163 MinSdkVersion string `xml:"-"`
165 GroupId string `xml:"groupId"`
166 ArtifactId string `xml:"artifactId"`
167 Version string `xml:"version"`
168 Packaging string `xml:"packaging"`
170 Dependencies []*Dependency `xml:"dependencies>dependency"`
173 func (p Pom) IsAar() bool {
177 func (p Pom) IsJar() bool {
181 func (p Pom) IsHostModule() bool {
185 func (p Pom) IsDeviceModule() bool {
189 func (p Pom) ModuleType() string {
199 func (p Pom) ImportModuleType() string {
209 func (p Pom) ImportProperty() string {
217 func (p Pom) BpName() string {
224 func (p Pom) BpJarDeps() []string {
228 func (p Pom) BpAarDeps() []string {
232 func (p Pom) BpExtraDeps() []string {
238 func (p Pom) BpDeps(typeExt string, scopes []string) []string {
250 func (p Pom) SdkVersion() string {
254 func (p *Pom) FixDeps(modules map[string]*Pom) {
276 func (p *Pom) ExtractMinSdkVersion() error {