forked from loafle/openapi-generator-original
Provide dependency to javax.annotation.Generated for android with Retrofit 2
Fix #2509
This commit is contained in:
parent
155458012e
commit
efd68445db
@ -46,6 +46,10 @@ if(hasProperty('target') && target == 'android') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
provided 'javax.annotation:jsr250-api:1.0'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
|
@ -46,6 +46,10 @@ if(hasProperty('target') && target == 'android') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
provided 'javax.annotation:jsr250-api:1.0'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user