mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-06 15:44:49 +08:00
Plan API 5.2-R0.5: More lenient TabInfo annotation usage
- No more warning when TabInfo is defined without Tab annotations. This is because builders can define tabs regardless.
This commit is contained in:
parent
1dfc7df307
commit
ab31f8a074
@ -4,7 +4,7 @@ dependencies {
|
|||||||
compileOnly "com.google.code.gson:gson:$gsonVersion"
|
compileOnly "com.google.code.gson:gson:$gsonVersion"
|
||||||
}
|
}
|
||||||
|
|
||||||
ext.apiVersion = '5.2-R0.4'
|
ext.apiVersion = '5.2-R0.5'
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -384,10 +384,6 @@ public final class ExtensionExtractor {
|
|||||||
if (tabName.length() > 50) {
|
if (tabName.length() > 50) {
|
||||||
warnings.add(extensionName + " TabInfo " + tabName + " 'name" + WAS_OVER_50_CHARACTERS);
|
warnings.add(extensionName + " TabInfo " + tabName + " 'name" + WAS_OVER_50_CHARACTERS);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!tabNames.contains(tabName)) {
|
|
||||||
warnings.add(extensionName + " has TabInfo for " + tabName + ", but it is not used.");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check Tab name lengths
|
// Check Tab name lengths
|
||||||
|
Loading…
Reference in New Issue
Block a user