error: Unable to find vcvarsall.bat
HELP
====
Writemonkey help file, July 30th 2012 (chm format) >
Troubles opening the help file?
Here is the answer >
***
Keyboard shortcuts >
A package for saving your projects for fast and easy access.
- windows/cygwin interoperability - https://cygwin.com/cygwin-ug-net/using-effectively.html
- Installing tmux on cygwin - http://java.ociweb.com/mark/programming/tmuxInCygwin.html
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
/* | |
* Copyright 2018 Nicholas Bilyk | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
/* | |
* Copyright 2018 PolyForest | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
pluginManagement { | |
// ... | |
resolutionStrategy { | |
eachPlugin { | |
// plugin substitution | |
if (requested.id.id == "com.android.application") { | |
useModule("com.android.tools.build:gradle:${requested.version}") | |
} | |
// plugin version substitution | |
if (requested.id.id.startsWith("org.jetbrans.kotlin")) { |
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
// Sub-project or project build.gradle.kts | |
// This is for KotlinJVM and KotlinJVM multiplatform build.gradle.kts | |
java.sourceSets["main"].withConvention(KotlinSourceSet::class) { | |
kotlin.srcDir(file("src")) | |
} | |
java.sourceSets["test"].withConvention(KotlinSourceSet::class) { | |
kotlin.srcDir(file("test")) | |
} |
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
/** | |
* Returns `this` value if it satisfies the given [predicate] or `null`, if it doesn't. | |
*/ | |
@kotlin.internal.InlineOnly | |
@SinceKotlin("1.1") | |
public inline fun <T> T.takeIf(predicate: (T) -> Boolean): T? { | |
contract { | |
callsInPlace(predicate, InvocationKind.EXACTLY_ONCE) | |
} | |
return if (predicate(this)) this else null |
OlderNewer