Richard Green
01/08/2019, 2:42 PMmarcoferrer
01/08/2019, 5:52 PMcommonMain
) dont implement ExtensionAware
? Im running into compatibility issues with other gradle plugins that expect this functionality. Im guessing this is just a gap in the current plugin? I know these sourceSets are not the same type as the conventional Java sourceSets but actually a kotlin specific implementation. https://github.com/JetBrains/kotlin/blob/c4b3580c31a5290089c397663c834dc629b2ae7f/libraries/tools/kotlin-gradle-plugin-api/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/KotlinSourceSet.ktjohnfn
01/08/2019, 7:10 PMtherealbluepandabear
03/07/2021, 3:59 AMtherealbluepandabear
03/07/2021, 4:14 AMuser
03/07/2021, 12:55 PMdave08
03/08/2021, 3:22 AMtherealbluepandabear
03/08/2021, 4:06 AMwhile (true) {
val string = randomCharGenerator(5)
println(string)
if (string == "HELLO") {
println("HELLO FOUND")
break
}
}
}
fun randomCharGenerator(length: Int): String {
val chars = listOf('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z')
var string = ""
var length2 = length
while (length2 != 0) {
string += chars[kotlin.random.Random.nextInt(0, chars.size)]
length2--
}
return string
}
therealbluepandabear
03/08/2021, 4:06 AMtherealbluepandabear
03/08/2021, 4:06 AMtherealbluepandabear
03/08/2021, 4:22 AMtherealbluepandabear
03/08/2021, 4:22 AMtherealbluepandabear
03/08/2021, 4:23 AMtherealbluepandabear
03/08/2021, 4:25 AMtherealbluepandabear
03/08/2021, 4:32 AMtherealbluepandabear
03/08/2021, 4:33 AMitnoles
03/08/2021, 4:33 AMtherealbluepandabear
03/08/2021, 4:44 AMuser
03/08/2021, 9:33 AMJavier
03/08/2021, 11:54 AMuser
03/08/2021, 2:31 PMuser
03/08/2021, 5:56 PMDavin reinaldo gozali
03/09/2021, 4:02 AMuser
03/09/2021, 9:45 AMJungIn Choi
03/09/2021, 11:19 AMself-introduction
: I’m studying kotlin for android development.
I’m a kotlin super-newbie, and I have basics in Java & android.
Rules
• Upload a daily progress summary(at least three lines, bullet-point) on the channel.
• Can use one pass for each week.
• Upload a weekly progress summary on the channel.
Actually, I don’t want to be strict on rules, and rules are to-be-determined if enough members gather up.
Reply a comment on this thread if u want to join 😋
Of course u can just join the channel 😇
P.S.
+ Non-newbies who just want to share their progress for self-improvement are welcome too.
+ Any other suggestions, feedbacks, questions on operating 100days-thing are welcome!user
03/09/2021, 1:40 PMuser
03/09/2021, 4:37 PMgroostav
03/09/2021, 11:45 PMevaluable.staticallyUsedIdentifiers - availableInputVars - availableOutputs
where evaluable.staticallyUsedIdentifiers is List<String>, availableInputVars is List<String>, and availableOutputs is List<*DomainModel*>
doing some alt+enter'ing gives me:
(evaluable.staticallyUsedIdentifiers - availableInputVars).minus<Serializable>(availableOutputs)
so kotlin was satisfied by Set<Serializable>
for this expression. feels bad.groostav
03/09/2021, 11:46 PMgroostav
03/09/2021, 11:46 PM