{"action":"opened","issue":{"url":"https://api.github.com/repos/jk1/TeamCity-dependencies-gradle-plugin/issues/19","repository_url":"https://api.github.com/repos/jk1/TeamCity-dependencies-gradle-plugin","labels_url":"https://api.github.com/repos/jk1/TeamCity-dependencies-gradle-plugin/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/jk1/TeamCity-dependencies-gradle-plugin/issues/19/comments","events_url":"https://api.github.com/repos/jk1/TeamCity-dependencies-gradle-plugin/issues/19/events","html_url":"https://github.com/jk1/TeamCity-dependencies-gradle-plugin/issues/19","id":188709966,"number":19,"title":"Can't configure plugin from build.gradle.kts","user":{"login":"jk1","id":715844,"avatar_url":"https://avatars.githubusercontent.com/u/715844?v=3","gravatar_id":"","url":"https://api.github.com/users/jk1","html_url":"https://github.com/jk1","followers_url":"https://api.github.com/users/jk1/followers","following_url":"https://api.github.com/users/jk1/following{/other_user}","gists_url":"https://api.github.com/users/jk1/gists{/gist_id}","starred_url":"https://api.github.com/users/jk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk1/subscriptions","organizations_url":"https://api.github.com/users/jk1/orgs","repos_url":"https://api.github.com/users/jk1/repos","events_url":"https://api.github.com/users/jk1/events{/privacy}","received_events_url":"https://api.github.com/users/jk1/received_events","type":"User","site_admin":false},"labels":[{"id":131053546,"url":"https://api.github.com/repos/jk1/TeamCity-dependencies-gradle-plugin/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"jk1","id":715844,"avatar_url":"https://avatars.githubusercontent.com/u/715844?v=3","gravatar_id":"","url":"https://api.github.com/users/jk1","html_url":"https://github.com/jk1","followers_url":"https://api.github.com/users/jk1/followers","following_url":"https://api.github.com/users/jk1/following{/other_user}","gists_url":"https://api.github.com/users/jk1/gists{/gist_id}","starred_url":"https://api.github.com/users/jk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk1/subscriptions","organizations_url":"https://api.github.com/users/jk1/orgs","repos_url":"https://api.github.com/users/jk1/repos","events_url":"https://api.github.com/users/jk1/events{/privacy}","received_events_url":"https://api.github.com/users/jk1/received_events","type":"User","site_admin":false},"assignees":[{"login":"jk1","id":715844,"avatar_url":"https://avatars.githubusercontent.com/u/715844?v=3","gravatar_id":"","url":"https://api.github.com/users/jk1","html_url":"https://github.com/jk1","followers_url":"https://api.github.com/users/jk1/followers","following_url":"https://api.github.com/users/jk1/following{/other_user}","gists_url":"https://api.github.com/users/jk1/gists{/gist_id}","starred_url":"https://api.github.com/users/jk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk1/subscriptions","organizations_url":"https://api.github.com/users/jk1/orgs","repos_url":"https://api.github.com/users/jk1/repos","events_url":"https://api.github.com/users/jk1/events{/privacy}","received_events_url":"https://api.github.com/users/jk1/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-11-11T08:35:02Z","updated_at":"2016-11-11T08:35:02Z","closed_at":null,"body":"Even a simple configuration like\r\n````\r\nrepositories {\r\n    teamcityServer {\r\n        url = 'https://url.domain.com'\r\n    }\r\n}\r\n````\r\n\r\nresults in \r\n\r\n````\r\nCaused by: java.lang.AssertionError: No resolved call for 'teamcityServer{\r\n          setUrl(\"https://url.domain.com\")\r\n      }' at (19,5) in /home/jk1/Projects/consumer/build.gradle.kts\r\n        at org.jetbrains.kotlin.resolve.calls.callUtil.CallUtilKt.getResolvedCallWithAssert(callUtil.kt:187)\r\n        at org.jetbrains.kotlin.codegen.ExpressionCodegen.visitCallExpression(ExpressionCodegen.java:2625)\r\n        at org.jetbrains.kotlin.codegen.ExpressionCodegen.visitCallExpression(ExpressionCodegen.java:120)\r\n        at org.jetbrains.kotlin.psi.KtCallExpression.accept(KtCallExpression.java:35)\r\n        at org.jetbrains.kotlin.codegen.CodegenStatementVisitor.visitKtElement(CodegenStatementVisitor.java:31)\r\n        at org.jetbrains.kotlin.codegen.CodegenStatementVisitor.visitKtElement(CodegenStatementVisitor.java:22)\r\n        at org.jetbrains.kotlin.psi.KtVisitor.visitExpression(KtVisitor.java:178)\r\n        at org.jetbrains.kotlin.psi.KtVisitor.visitReferenceExpression(KtVisitor.java:194)\r\n        at org.jetbrains.kotlin.psi.KtVisitor.visitCallExpression(KtVisitor.java:270)\r\n        at org.jetbrains.kotlin.psi.KtCallExpression.accept(KtCallExpression.java:35)\r\n        at org.jetbrains.kotlin.codegen.ExpressionCodegen.genQualified(ExpressionCodegen.java:293)\r\n        ... 104 more\r\n````"}}
{"actor":{"display_login":"jk1"}}