This set of patches shows some experiments in Android Studio to add features in the DCL support. It is based on the approach of directly converting DCL PSI elements to the DCL language tree and using that as an input to the Gradle analysis implementation. Therefore, it does not need to run the Gradle parser on the source text at all.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Пушистость – крайне полезное качество, особенно если его развить до высокой степени. | |
Например, если ваша пушистость хотя бы 0.5 Агр., то есть примерно как у вербы, то | |
окружающие уже захотят потрогать вас, погладить, а то и накормить чем-нибудь | |
вкусненьким. А если пушистость приближается к одной целой Агриппине, то вы сможете | |
тыгыдыкать по льду Байкала без штанов, вас будут охотно брать в экспедиции за сокровищами, | |
а ещё можно получить работу помощника писательницы (потому что вы будете очень милым), | |
а это уже полпути к известности! Если же у вас не хватает для этого природной пушистости, | |
то подружитесь с кем-то с хорошей шёрсткой и всюду берите его с собой, так вы сможете | |
тоже пользоваться преимуществами этого качества. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static String removeKdigits(String num, int k) { | |
Deque<Character> resultDeque = new ArrayDeque<>(); | |
resultDeque.add(num.charAt(0)); | |
for (int i = 1; i < num.length(); ++i) { | |
var nextChar = num.charAt(i); | |
while (k > 0 && !resultDeque.isEmpty() && resultDeque.peekLast() > nextChar) { //Возвращаемся на символ назад | |
resultDeque.removeLast(); | |
k--; | |
} | |
resultDeque.add(nextChar); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main() { | |
val n = readln().toInt() | |
val input = readln().split(" ").map { it.toInt() } | |
val result = solve(input) | |
if (result == null) { | |
println("NO") | |
} else { | |
println("YES") | |
println(result.joinToString(" ")) |
- https://gist.github.com/h0tk3y/a0effe4ceb3b7f9f8500ea00249c6a79#file-01-agp-minimal-changes-patch
- Exclude collection-typed properties like
val assetPacks: MutableSet<String>
(not yet supported in DCL) - Exclude functions that use type parameters, such as
DefaultConfigT
(workaround) - Add
@SoftwareType
in theLibraryPlugin
and reference it inAndroidEcoPlugin
- Implement custom getters for the
@SoftwareType
properties to access existing model instances
- Exclude collection-typed properties like
- https://gist.github.com/h0tk3y/a0effe4ceb3b7f9f8500ea00249c6a79#file-02-remove-unnecessary-annotations-patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Your Name] | |
[Your Address] | |
[City, State, Zip] | |
[Your Email] | |
[Your Phone Number] | |
[Date] | |
Hiring Manager’s Name | |
Recordati | |
[Company Address] |
Supported APIs in settings.gradle.something
:
Settings
:val rootProject: ProjectDescriptor
include(projectPath: String)
(thevararg
overload is not supported)pluginManagement(pluginManagementSpec: PluginManagementSpec.() -> Unit)
- (+
val pluginManagement
)
- (+
dependencyResolutionManagement(dependencyResolutionConfiguration: DependencyResolutionManagement.() -> Unit)
- (+
val dependencyResolutionManagement
)
- (+
enableFeaturePreview(name: String)
[Your Name]
Professor and Laboratory Head
Tolyatti State University
[Address]
Tolyatti, Russia
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ა - ани [ɑ] | |
ბ - бани [b] | |
გ - гани [ɡ] | |
დ - дони [d] | |
ე - эни [ɛ] | |
ვ - вини [v] | |
ზ - зени [z] | |
თ - тхани [tʰ] | |
ი - ини [ɪ] | |
კ - кани [kʼ] |
NewerOlder