snowe
07/31/2018, 10:59 PMbootJar
with the kotlin dsl?napperley
08/02/2018, 2:36 AMnapperley
08/02/2018, 4:36 AMIan
08/04/2018, 8:27 PMubu
08/04/2018, 9:26 PMBernhard
08/05/2018, 2:11 PMx80486
08/05/2018, 4:40 PMgradle-completion
and Kotlin DSL Gradle scripts? I see it doesn't quite "discover" (read: auto-completes) all the tasks correctly...redrield
08/09/2018, 4:49 AMjlleitschuh
08/09/2018, 12:46 PMCzar
08/09/2018, 2:18 PMjlleitschuh
08/09/2018, 10:42 PMNamedObjectDomainCollection
objects in our plugins or is there no way to instantiate one without using internal API'S?snowe
08/09/2018, 10:59 PMBernhard
08/11/2018, 1:10 PMCould not resolve all files for configuration ':buildSrc:kotlinCompilerPluginClasspath'.> Could not find org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.2.60. Searched in the following locations: file:/home/bernhard/.gradle/caches/4.10-rc-1/embedded-kotlin-repo-1.2.60-2/repo/org/jetbrains/kotlin/kotlin-scripting-compiler-embeddable/1.2.60/kotlin-scripting-compiler-embeddable-1.2.60.jar Required by: project :buildSrc > Could not find org.jetbrains.kotlin:kotlin-sam-with-receiver:1.2.60. Required by: project :buildSrc
Aregev2
08/11/2018, 8:26 PMmainClassName
in application
plugin?max
08/14/2018, 12:59 AMprocessResources
correctly. What I’m trying to do is: I have a file: src/main/res/xml/file.xml
which has a string like <external-path name="my_images" path="Android/data/{$appId}/files/Pictures/" />
. Now I’m trying to replace appId token in gradle build script as follows:
tasks {
withType<ProcessResources> {
filesMatching("${projectDir}/src/main/res/xml/file.xml") {
val tokens = mapOf("appId" to "myApplicationId")
expand(tokens)
}
outputs.upToDateWhen { false }
}
}
But that seems not working. Build finishes without errors, but if I open that xml file after artifact is produced, the template is not fulfilled. I spend on this a almost a day, please help me understand what’s wrong here.Daniel Tam
08/14/2018, 7:00 AMDALDEI
08/15/2018, 10:24 PMbkenn
08/16/2018, 1:22 AMDALDEI
08/16/2018, 2:35 AMxenoterracide
08/17/2018, 1:44 PMDALDEI
08/18/2018, 1:36 AMreport
is not accessible in a type safe way because:
* - nexstra.client.workflow.RunReportSteps.Parameters
is not available
*/
val org.gradle.api.Project.`report`: Any get() =
(this as org.gradle.api.plugins.ExtensionAware).extensions.getByName("report")xenoterracide
08/22/2018, 11:08 PMxenoterracide
08/22/2018, 11:42 PMTask ':publishPlugins' is not up-to-date because:
Task has not declared any outputs despite executing actions.
Publishing plugin com.xenoterracide.gradle.sem-ver version 0.5.1
Publishing plugin com.xenoterracide.gradle.code-quality version 0.5.1
Publishing plugin com.xenoterracide.gradle.java-lib version 0.5.1
Publishing artifact build/libs/pluginbundle-0.5.1.jar
Publishing build/libs/pluginbundle-0.5.1.jar to <https://s3.amazonaws.com/plugins-artifacts.gradle.org/gradle.plugin.com.xenoterracide.gradle/pluginbundle/0.5.1/a1d6eaae70cfb8069c7dda4c4055da890d5c1ab3c9643b158822bb09161451e8/pluginbundle-0.5.1.jar?x-amz-acl=public-read&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180822T213423Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=AKIAJSORG5G77OJXTM7Q%2F20180822%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=98d8ce98a557d4684baf32d27703194aebc063f9176e5a2ba7fc862543b1ce51>
Publishing artifact build/libs/pluginbundle-0.5.1-sources.jar
Publishing build/libs/pluginbundle-0.5.1-sources.jar to <https://s3.amazonaws.com/plugins-artifacts.gradle.org/gradle.plugin.com.xenoterracide.gradle/pluginbundle/0.5.1/3d547bef2fdf8d2fd6e76fa441a24c1316333e8341b26f486731a09673dc1c6d/pluginbundle-0.5.1-sources.jar?x-amz-acl=public-read&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180822T213423Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=AKIAJSORG5G77OJXTM7Q%2F20180822%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=4022becd4b0ad5abfb84a95a8c5bb7d6f9e97fa8a651f948eac279fd48bdc9e5>
Publishing artifact build/libs/pluginbundle-0.5.1-javadoc.jar
Publishing build/libs/pluginbundle-0.5.1-javadoc.jar to <https://s3.amazonaws.com/plugins-artifacts.gradle.org/gradle.plugin.com.xenoterracide.gradle/pluginbundle/0.5.1/5f9f7d8ee6faf3208dd9a7043ebdb76bb297f8c2a220c09b305829e33eee0cb1/pluginbundle-0.5.1-javadoc.jar?x-amz-acl=public-read&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180822T213423Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=AKIAJSORG5G77OJXTM7Q%2F20180822%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=9988e5026b5d8602bd665b3dcfe603b2e027ac07dbcbf5d6d73abfb6610d2ba2>
Publishing artifact build/publish-generated-resources/pom.xml
Publishing build/publish-generated-resources/pom.xml to <https://s3.amazonaws.com/plugins-artifacts.gradle.org/gradle.plugin.com.xenoterracide.gradle/pluginbundle/0.5.1/5a90476c221b23cb954164c51d7eacb35d4aa47fd8a5b2cf8a2ed56b41274112/pluginbundle-0.5.1.pom?x-amz-acl=public-read&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180822T213423Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=AKIAJSORG5G77OJXTM7Q%2F20180822%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=8b4a80f2c60090f0470cd9f9d808ff0ac68b22fedbb711b64e12921ec199cae8>
Activating plugin com.xenoterracide.gradle.sem-ver version 0.5.1
Activating plugin com.xenoterracide.gradle.code-quality version 0.5.1
Activating plugin com.xenoterracide.gradle.java-lib version 0.5.1
https://plugins.gradle.org/plugin/com.xenoterracide.gradle.java-lib/0.5.1
* What went wrong:
Plugin [id: 'com.xenoterracide.gradle.java-lib', version: '1.5.1'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.xenoterracide.gradle.java-lib:com.xenoterracide.gradle.java-lib.gradle.plugin:1.5.1')
Searched in the following repositories:
Gradle Central Plugin Repository
Etienne Cuvillon
08/24/2018, 2:40 PMmkobit
08/27/2018, 12:46 PMeriwen
08/28/2018, 7:12 PMxenoterracide
08/30/2018, 2:08 AMv79
09/01/2018, 1:21 PMjar{
// required for building JAR files
baseName = 'bascule'
version = '0.0.1'
manifest {
attributes(
'Main-Class': 'org.liamjd.bascule.MainKt'
)
}
from('/src/main/resources') {
include '*'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
tapchicoma
09/02/2018, 7:36 PM(components["main"] as KotlinNativeMainComponent).apply {
outputKinds.set(listOf(OutputKind.EXECUTABLE))
}
but maybe there is a better way?napperley
09/03/2018, 11:42 PMnapperley
09/03/2018, 11:42 PMLucas
09/04/2018, 12:14 AMimport org.jetbrains.kotlin.gradle.frontend.karma.KarmaExtension
configure<KarmaExtension> {
frameworks = listOf("")
}
Note: I didn't tested it!napperley
09/04/2018, 12:23 AMLucas
09/04/2018, 12:30 AMKarmaExtension
it's KarmaModuleExtension
.
import com.craigburke.gradle.KarmaModuleExtension
configure<KarmaModuleExtension> {
}
napperley
09/04/2018, 12:51 AM> Task :js:karmaRun FAILED
/home/napperley/idea_projects/webscene/webscene-core/js/node_modules/karma/node_modules/log4js/lib/layouts.js:69
) + util.format(...loggingEvent.data);
^^^
SyntaxError: Unexpected token ...
😱
All Gradle issues seem to be resolved with the Karma plugin.Lucas
09/04/2018, 1:00 AMnapperley
09/04/2018, 1:05 AMdependencies(mutableListOf("mocha@v5.2.0"))
) however the same issue occurs.Lucas
09/04/2018, 1:45 AMimport com.moowork.gradle.node.NodeExtension
apply(plugin = "com.moowork.node")
configure<NodeExtension> {
version = "10.0.0"
}
napperley
09/04/2018, 1:59 AM