2016-09-25 10 views
0

私は、Grailsの2.3で、ここで利用できるプラグインをプラグインtwilio Grailsのをインストールする必要がhttps://github.com/Novadge/grails-twiliograils 2.3にgrailsプラグインをインストールする正しい方法は何ですか?

誰かが私のGrails 2.3のプロジェクトにこのプラグインをインストールするために私を助けることができますか?あなたはconfig.groovyファイルにtwillo設定を追加することにより、プラグインをインストールすることができますドキュメントに与えられたよう

+0

あなたは直面している問題は何ですか?ドキュメントは役に立ちませんか? http://docs.grails.org/2.3.4/ref/Command%20Line/install-plugin.html –

+0

install-pluginが動作しません。 2.3からdeprecatedとして、私はinstall-pluginコマンドなしでどのようにインストールできるのか知りたいですか? –

答えて

1

-

よう BuildConfig.groovydependencies
twilio { 
    // Enter your host address 
    host = 'https://api.twilio.com' 
    apiID = 'enter your api Id' 
    apiPass = 'enter your api password' 
    smsUrl = '/2010-04-01/Accounts/' + apiID + '/Messages.json' 
    number = "" 
} 

およびその他のrelevent依存コンポーネント - あなたが持っている

 dependencies { 
    . 
    . 
    //twilio plugin   
    compile "org.grails.plugins:twilio:0.1" 

    compile(group:'org.apache.httpcomponents',name:'httpclient',version:'4.3.6') 
    compile(group:'org.apache.httpcomponents',name:'fluent-hc',version:'4.3.6') 
    compile(group:'org.apache.httpcomponents',name:'httpclient-cache',version:'4.3.6') 
    compile(group:'org.apache.httpcomponents',name:'httpmime',version:'4.3.6') 

    . 
    . 

    } 
+0

こんにちは、abinandan、返信ありがとうございます。私はconfigとbuildconfigの両方でこれらの設定を追加しましたが、プラグインはまだインストールされていません twilioプラグインをインストールするには twilioプラグインを動作させるプロセス全体を教えてもらえますか? 私はこの初心者です –

+0

@GregOdayあなたはどんなエラーを受けていますか?あなたが直面している問題についての詳細を追加できますか? –

関連する問題